If /o is not used to terminate a string, any attempt at displaying or copying the string will cause problems as the program will display or copy all the memory locations after the string until a /0 is encountered.
If /o is not used to terminate a string, any attempt at displaying or copying the string will cause problems as the program will display or copy all the memory locations after the string until a /0 is encountered.
Initializing Character Arrays.
We cannot assign a string literal to a character array after the string has been declared - it can only be done one character at a time.(See next slide)