hamburger

A pointer is?

By BYJU'S Exam Prep

Updated on: September 25th, 2023

A pointer is?

  1. A keyword is used to create variables.
  2. A variable that stores the address of an instruction.
  3. A variable that stores the address of other variables.
  4. All of the above.

Answer- C. A variable that stores the address of other variables.

The correct answer is option C, a pointer is a variable that stores the address of other variables.

Solution

A pointer in a programming language is a special type of variable that is used to store the address of other variables. It can be specified using any of the types like int, char, float, array, function, or any other pointer type. However, the size of a pointer is architecture-dependent and therefore varies from system to system. Usually, in a 32-bit architecture, the size of the pointer is 2 bytes or 16 bits.

☛ Related Questions:

Our Apps Playstore
POPULAR EXAMS
SSC and Bank
Other Exams
GradeStack Learning Pvt. Ltd.Windsor IT Park, Tower - A, 2nd Floor, Sector 125, Noida, Uttar Pradesh 201303 help@byjusexamprep.com
Home Practice Test Series Premium