Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why we use pointer in c

Answer Posted / manjulatha

use of pointers makes the code more efficient and compact.
1.to acess array elements
2. to return more than one value to a function.
3. to acess dynamically allocated memory.
4. to implement data structures like linked lists,trees.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

writ a program to compare using strcmp VIVA and viva with its output.

1991


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

968


What is bss in c?

1053


What are local static variables?

1094


write a c program thal will find all sequences of length N that produce the sum is Zero, print all possible solutions?

2823


What is the benefit of using an enum rather than a #define constant?

1188


What is a pointer variable in c language?

1044


what is the basis for selection of arrays or pointers as data structure in a program

4262


Explain what are the standard predefined macros?

1082


What are the keywords in c?

1088


What is scope and lifetime of a variable in c?

999


What is zero based addressing?

1121


What is difference between array and structure in c?

1108


What is difference between array and pointer in c?

1042


Why static variable is used in c?

992