Pointer in C Language - Quiz

  • ANot possible
  • B Possible
  • CDepends on the return value
  • DDepends on the # of arguments
  • AA pointer can be dereferenced to access its value
  • BA regular variable cannot be passed to a function
  • CA pointer can only store integer values
  • DA regular variable does not require initialization
  • AA pointer that points to a non-existent memory location
  • BA pointer that has not been initialized
  • CA pointer that points to the first memory location in the system
  • DA pointer that points to the end of the system memory
  • APerforming arithmetic operations on the values of pointers
  • BPerforming arithmetic operations on the memory addresses stored in pointers
  • CConverting pointers to integers and performing arithmetic operations on them
  • DConverting integers to pointers and performing arithmetic operations on them
  • AA pointer that can point to two different memory locations
  • BA pointer that stores a floating-point value
  • CA pointer that points to another pointer
  • DA pointer that can store two integer values
  • AA const pointer cannot be dereferenced, while a pointer to a const can
  • BA const pointer cannot be reassigned to point to a different memory location, while a pointer to a const can
  • CA const pointer points to a const object, while a pointer to a const can point to a non-const object
  • DA const pointer and a pointer to a const are equivalent in C