Lesson 4 – C++ Char Type, String Type

Diving into the c++ char type. This very small memory type holds enough space for 1 English type character. Below x is a single char. However, y is an array of chars. Both c and c++ have several ways of expressing an array of chars. char x = 'C';char y = {'C','h','e','r','r','y','\0'}; /* We look at the char type that holds single characters Programmer: Jane Doe Date : May 2020 */ #include...
Read More
Top