Pointer in C Language - Quiz

  • A A const pointer cannot be dereferenced, while a pointer to a const can
  • B A const pointer cannot be reassigned to point to a different memory location, while a pointer to a const can
  • C A const pointer points to a const object, while a pointer to a const can point to a non-const object
  • D A const pointer and a pointer to a const are equivalent in C
  • A A data type
  • B A memory address
  • C A keyword
  • D A function
  • A Performing arithmetic operations on the values of pointers
  • B Performing arithmetic operations on the memory addresses stored in pointers
  • C Converting pointers to integers and performing arithmetic operations on them
  • D Converting integers to pointers and performing arithmetic operations on them
  • A A pointer that can point to two different memory locations
  • B A pointer that stores a floating-point value
  • C A pointer that points to another pointer
  • D A pointer that can store two integer values
  • A A pointer that points to a non-existent memory location
  • B A pointer that has not been initialized
  • C A pointer that points to the first memory location in the system
  • D A pointer that points to the end of the system memory
  • A A reference is a type of pointer
  • B A pointer can be reassigned to point to a different memory location, while a reference cannot
  • C A reference must be initialized when it is declared, while a pointer does not have to be
  • D A pointer is a copy of the value it points to, while a reference is an alias for the value it refers to