What will the following statement output?
Cout << &num1;
A) the value stored in the variable named num1
B) the memory address of the variable named num1
C) the number 1
D) the string &num1
E) None of these
Correct Answer:
Verified
Q19: An array name is a pointer constant
Q20: The ampersand (&) is used to dereference
Q21: Which of the following statements is not
Q22: Assuming ptr is a pointer variable, what
Q23: Which of the following statements displays the
Q25: When you pass a pointer as an
Q26: If you are using an older computer
Q27: What will the following code output?
Int number
Q28: To help prevent memory leaks from occurring
Q29: Not all arithmetic operations can be performed
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