Lab 12 Preview

This week we are going to play with c string (character array).

To write this program you need to know the following string functions: stchr, strcpy, strncpy, strlen.

You also need some understanding of basic concepts of c string (c string ends with '\0') and how to use char pointers.

This code example may be worth your time to read, especially the last block.

Make sure you have necessary tools working for you (editor, compiler, or IDE) before class.