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:
Verified
Q2: Which of the following is not a
Q3: Which of the following is a difference
Q7: Which of the following classes is a
Q11: Which of the following is not true
Q12: Which of the following is an illegal
Q13: The putback member function returns to the
Q14: Select the correct statement regarding C++ I/O
Q15: Upon encountering the designated delimiter character, the
Q17: Which of the following libraries does not
Q19: Which of the following is not a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents