Chapter 6 Data Type

– C and C++ use char arrays to store char strings and provide a collection of string operations through a standard library whose header is string.h. – How is the length of the char string decided? – The null char which is represented with 0. – Ex: char *str = “apples”; // char ptr points at the str apples0 ................
................