Question

Q1: Which of the following prints the address of character string string given the following declaration?
char * string = "test";
a. cout << string;
b. cout << *&string;
c. cout << static_cast< void * >( string );
d. cout << * string;

Answer

This answer is hidden. It contains 47 characters.