Multiple Choice
Which of the following can be used to initialize a pointer variable?
A) 1
B) nullptr
C) "0"
D) '0'
Correct Answer:
Verified
Related Questions
Q11: A list is a collection of elements
Q12: What is the output of the following
Q13: The C++ operator _ is used to
Q14: In the statement
int* p, q;
p and q
Q15: A memory leak is an unused memory
Q17: A pointer variable is a variable whose
Q18: The C++ operator _ is used to
Q19: The code int *p; declares p to
Q20: In C++, the dot operator has a
Q21: The _ constructor is executed when an
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