What is the significance of using a pointer to a structure?

  • It allows accessing the structure's elements directly
  • It allows dynamic memory allocation and manipulation of structures
  • It saves memory compared to not using a pointer
  • It simplifies code but doesn't affect performance
Using a pointer to a structure allows direct access to its elements, enabling efficient manipulation and modification of the structure's data.
Add your answer
Loading...

Leave a comment

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