Computer Science · C++ Programming
State whether the following statements regarding C++ pointers are true or false: a) A pointer is a variable that contains as its value the address of another variable. b) A pointer that is declared to be of type void* can be directly dereferenced. c) The address operator & can be applied only to constants and expressions. d) The only integer literal that can be assigned directly to a pointer without a cast is 0.
- 1a) True, b) False, c) False, d) True✓
- 2a) True, b) False, c) False, d) False
- 3a) True, b) True, c) False, d) False
- 4a) True, b) False, c) True, d) False
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 C++ Programming?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · C++ Programming