How does a double pointer differ from a single pointer?

  • Can store multiple values
  • Points to a memory address
  • Points to another pointer
  • Stores double the data
A double pointer in C points to the memory address of a pointer, while a single pointer points to a single memory address. It allows for indirection, which can be useful in certain scenarios.
Add your answer
Loading...

Leave a comment

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