What are the uses of pointers?

[Edit]

Answer

The main advantages of using pointers are
1.) Function cannot return more than one value. But when the same function can modify many pointer variables and function as if it is returning more than one variable.
2.) In the case of arrays, we can decide the size of the array at runtime by allocating the necessary space.

C has a minimum number of fundamental data types - a single character, a single integer or float, and a few derived data types such as a structure, an enumerated list, and an array. If you want to do much more than that, you make use of pointers.

Pointers allow you to dynamically request memory to store off information for use later. They allow you to create linked lists and other algorithmically oriented data structures.

Improve Answer Discuss the question "What are the uses of pointers?" Watch Question

First answer by ID3507516259. Last edit by Devshri. Contributor trust: 4 [recommend contributor]. Question popularity: 19 [recommend question]

Research your answer:

Answers.com > Wiki Answers > Categories > Technology > Computers > Computer Terminology > What are the uses of pointers?

Our contributors said this page should be displayed for the questions below. (Where do these come from)
If any of these are not a genuine rephrasing of the question, please help out and edit these alternates.
The types of pointers?  Far and huge pointers?  What are far pointers?  Why is your penis huge?  When do you use pointers?  Applications of pointers?  Disadvantages of pointers?  What is the use pointers in c?  What is the use of pointers in c langauage?  What are the advantages of pointers in c programming?  What are the advantages of using pointers in a program?