Day 5 Recap Questions
  1. When we declare an array in C, what are the initial values?
  2. How would you declare and initialize an array containing the first five multiples of 1.1 (ie, 1.1, 2.2, through 5.5)?
  3. What is the ASCII (Unicode) table?
  4. 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));
    
  5. What is a null terminator? What is its ASCII value?
  6. Consider c-string "ab\0cd\0" - what is the reported string length?
  7. How large must we declare string1 to be in order for the code strcat(string1, string2); to succeed?