Pointer in C Language - Quiz

  • ANot possible
  • B Possible
  • CDepends on the return value
  • DDepends on the # of arguments
  • 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 points to a specific memory location in a program
  • BA pointer that stores the address of a function in memory
  • CA pointer that can be used to access the arguments of a function
  • DA pointer that can only be used to call functions that return void
  • 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