35 beginner-friendly questions with sample input, expected output and hints.
char ch = 'A';stores one character.char word[20] = "Hello";stores a string (a character array ending in\0).- Array indexes start at zero. Never access outside allocated bounds.
- For full sentences, use
fgets()and handle its trailing newline.