General Atomics interview question

What is the value to a char pointer?

Interview Answer

Anonymous

28 Jan 2025

Usually, it is for pointing to a string (usually at the beginning of). i.e. char str[] = "Interview"; char* c = str; cout << *c; // will print the char 'I'