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;

c. cout << static_cast< void * >( string );

Computer Science & Information Technology

You might also like to view...

A(n) ________ is an expression that precisely defines a range of data that will be accepted in a field

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which OSI layer is considered the media access control layer?

A) Transport B) Application C) Data Link D) Presentation E) None of these answers are correct.

Computer Science & Information Technology