+2 votes
in Class 12 by kratos

What are the advantages of a pointer?

1 Answer

+3 votes
by kratos
 
Best answer

The advantages of the pointer are:

  • For objects memory can be allocated dynamically during runtime.
  • When objects are no more required, then memory can be released.
  • Memory is efficiently used because memory is allocated when needed and freed when it is not needed for objects.
...