Solved

Which of the Following Prints the Address of Character String

Question 4

Multiple Choice

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;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions