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

What does %d do?

1271


Explain setjmp()?

1066


What are the types of data files?

1197


How do you print only part of a string?

1018


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

1060


If I have a char * variable pointing to the name of a function ..

1168


What are the 4 types of organizational structures?

1095


Why isn't it being handled properly?

1061


what is the difference between 123 and 0123 in c?

1201


What does a pointer variable always consist of?

1093


What is meant by 'bit masking'?

1387


How to set file pointer to beginning c?

1200


In C programming, what command or code can be used to determine if a number of odd or even?

1053


What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers

1251


Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record

5207