all programming language at TCCI, Basic computer course, coaching class in Ahmedabad, Coaching for All Engineering in Ahmedabad, computer class in ahmedabad, computer course in ahmedabad, computer training to IT Engineering

Why we need null pointer?

Pointers allow you to refer to the same space in memory from multiple locations.

They need because there are so many advantages:

  • To dynamic allocate in your memory.
  • This means that you can update memory in one location and the change can be seen from another location in your program. You will also save space by being able to share components in your data structures.
  • You should use pointers any place where you need to obtain and pass around the address to a specific spot in memory. You can also use pointers to navigate arrays:
  • In some cases, function pointers are required to use functions that are in a shared library (.DLL or .so). This includes performing stuff across languages, where oftentimes a DLL interface is provided.
  • Data structures – node link pointers for special trees you are making like trie.

To learn more about Pointer

For more information about C, C++, Python, Java

Call us @ 98256 18292.

Mail us @ tccicoaching@gmail.com

Visit us @ http://tccicomputercoaching.com/

Leave a comment