Pointer in C Language - Quiz

  • 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 <code>int x = &amp;y;</code>
  • B <code>int *x = y;</code>
  • C <code>int &amp;x = y;</code>
  • D <code>int *x = &amp;y;</code>
  • 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 Not possible
  • B Possible
  • C Depends on the return value
  • D Depends on the # of arguments
  • A A pointer can be dereferenced to access its value
  • B A regular variable cannot be passed to a function
  • C A pointer can only store integer values
  • D A regular variable does not require initialization
  • A A pointer that points to a specific memory location in a program
  • B A pointer that stores the address of a function in memory
  • C A pointer that can be used to access the arguments of a function
  • D A pointer that can only be used to call functions that return void