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
Q1: One difference between the three-argument version of
Q2: Which of the following is not a
Q3: Which of the following is a difference
Q4: Which C++ data type was designed to
Q6: Which of the following classes is deepest
Q7: Which of the following classes is a
Q8: Which of the following statements is not
Q9: What will be output by the following
Q10: The stream-extraction operator:
A) Does not normally accept
Q11: Which of the following is not true
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