#include #include #include //for the function strlen using namespace std; int main() { //Each array contains the same 6 chars. char a[] {"hello"}; char b[] {'h', 'e', 'l', 'l', 'o', '\0'}; char c[] {104, 101, 108, 108, 111, 0}; cout << a << "\n"; cout << b << "\n"; cout << c << "\n"; cout << "The number of chars stored in a is " << strlen(a) << ".\n"; cout << "The number of elements in a is " << size(a) << ".\n"; //The value of the expression "goodbye" is the address of the 1st char. const char *p {"goodbye"}; cout << "The 'g' is located at address " << p << ".\n"; cout << "The 'g' is located at address " << static_cast(p) << ".\n"; return EXIT_SUCCESS; }