Computer Science · Pointers in C++
Consider the following statements regarding pointers in C/C++: a) A pointer is a variable that stores the memory address of another variable. b) A pointer declared as void* can be directly dereferenced without typecasting. c) The address-of operator & can be applied directly to numeric constants and literal expressions. d) The only literal integer value that can be assigned directly to a pointer variable without type casting is 0. Which of the following option correctly identifies the true (T) and false (F) statements?
- 1a) True, b) False, c) True, d) False
- 2a) True, b) True, c) False, d) False
- 3a) True, b) False, c) False, d) False
- 4a) True, b) False, c) False, d) True✓
Correct answer
a) True, b) False, c) False, d) True
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Pointers in C++?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Pointers in C++