C-style Strings Exercise

  < Previous  Next >
  1. What is the difference between the following?
    • char pointer
    • char array
    • C-style string
  2. Students in the "honors" section provide code to illustrate the differences in the above
  3. Write a function that is equivalent to strcpy() (from the cstring header)
    • Students in the "honors" section also do strncpy()

Last Modified: