Question 1: C++ Pointer Declaration
Which of the following is the correct way to declare a pointer to an integer in C++?
Question 2: C++ Guess the Output – Dereferencing
What will this code print?
Question 3: C++ Address-of Operator
What does the & operator do in the context of pointers?
Question 4: C++ Guess the Output – Pointer and Variable
What will be the output of this program?
Question 5: C++ Null Pointer
How can we assign a null value to a pointer in modern C++?
Question 6: C++ Guess the Output – Pointer Arithmetic
What will be the output of this program?
Question 7: C++ Pointer to Pointer
What is the correct way to declare a pointer to a pointer of an integer?
Question 8: C++ Guess the Output – Double Pointer
What will the following program print?
Question 9: C++ Pointers and Arrays
Which of the following statements is true about arrays and pointers in C++?
Question 10: C++ Guess the Output – Pointer Size
What will the output of the following program be (on a 64-bit system)?