Pointer arithmetic in C is based on ________, which means that the pointer is incremented or decremented by the size of the data type it points to.

  • address arithmetic
  • object arithmetic
  • relative arithmetic
  • value arithmetic
Pointer arithmetic in C is based on address arithmetic, meaning that when you increment or decrement a pointer, it moves by the size of the data type it points to. This is a fundamental concept in C programming and is crucial for memory manipulation.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *