Node:Questions for Chapter 15, Previous:String library functions, Up:Strings



Questions for Chapter 15

  1. What are the three main ways of initializing string variables?
  2. How would you declare an array of strings?
  3. What information is returned by strlen?
  4. What does the function strcat do? How about strncat?
  5. Rewrite the Morse coder program more efficiently, using static strings. (See Example 15, for the original version.)