What will the following code output? int number = 22;
Int *var = &number;
Cout << *var << endl;
A) The address of the number variable
B) 22
C) An asterisk followed by 22
D) An asterisk followed by the address of the number variable
Correct Answer:
Verified
Q15: A pointer can be used as a
Q16: The _ and _ operators can be
Q21: The statement cin >> *num3;
A) stores the
Q22: When using the new operator with an
Q26: What will the following code output? int
Q27: If a variable uses more than one
Q28: Look at the following code:
Q29: The statement int *ptr = new int;
A)
Q30: A pointer variable may be initialized with
A)
Q37: Every byte in the computer's memory is
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