Description:
Why does "Hello" need 6 boxes? In this video you learn the char type and ASCII codes, how a string is really a char array ending with the hidden null character '\0', how to print and read strings with %s and fgets, how to loop over a string, the 4 must-know string.h functions (strlen, strcpy, strcat, strcmp), and the 3 most common string mistakes.
Chapters:
0:00 Intro
0:21 The char type and ASCII
0:55 A string is a char array
1:27 Printing and reading strings
2:10 Looping over a string
2:32 string.h functions
3:43 Common mistakes
4:36 Recap and quiz
5:53 Practice task
Practice task:
1. Read a word and print it in reverse
2. Count the vowels in a sentence (use fgets)
3. Check if a word is a palindrome (level, madam)
Full playlist: [https://www.youtube.com/playlist?list=PLL9xanJYJ7Vo]
#cprogramming #coding #programmingforbeginners
Share this link via
Or copy link























