- When we declare an array in C, what are the initial values?
- How would you declare and initialize an array containing the first five multiples of 1.1 (ie, 1.1, 2.2, through 5.5)?
- What is the ASCII (Unicode) table?
- What is printed by this code segment? Are the typecast and parentheses in line 2 necessary? recommended?
char ch = 'A'; ch = (char) (ch + 3); printf("%c %d %c", ch, ch, tolower(ch));
- What is a null terminator? What is its ASCII value?
- Consider c-string
"ab\0cd\0"
- what is the reported string length? - How large must we declare string1 to be in order for the code
strcat(string1, string2);
to succeed?