In this video lesson, C programming - strings or character arrays, we will see how we can print a string in various ways in C language. Note that there is no method to find where the numeric arrays ends. There is no bound checking of elements in numeric arrays. But, using '\0' in character array we can easily find where the string ends.
String ends with a special character '\0' which indicates end of string. To receive string from the keyboard we generally use gets function instead of scanf because scanf has several limitations. Using normal version of scanf we cannot receive multiword string.
This tutorial focuses on how we can print strings or character arrays is different ways.
To understand the whole concept, watch the video till end.
So, lets begin! Wish you happy learning!
spartakrish, mysteriokrish
#Krishnalede,#Learncwithperfection
Don't forget to subscribe my channel.
Keywords:
1. c language
2. c programming
3. computer programming
4. loops
5. strings
6. character arrays
7. arrays
8. array with character
9. elements
10. printf
11. scanf
12. getchar
13. gets
14. putchar
15. puts
16. string handling
17. null character
18. one dimensional array
19. %s control specifier
20. string array
21. c training
22. programming c
Twitter Page: / lede_v
Facebook Page: / krishnavlede