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 do we use pointer instead directly acessing the data?

Answer Posted / manish

We use the pointer instead of the because of the fast
access of the data as pointer provides direct memory access.

Also, soemtimes passing the ;large structure variable in
the function argument requires large memoy stack but by
passing the pointer to the structure inside the function
will reduce the stack size.

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the advantage of an array over individual variables?

1293


praagnovation

2350


Who invented bcpl language?

1247


Find duplicates in a file containing 6 digit number (like uid) in O (n) time.

3309


What are high level languages like C and FORTRAN also known as?

1236


Explain about C function prototype?

1141


What does volatile do?

1038


How to implement a packet in C

2932


Write an efficient algo and C code to shuffle a pack of cards.. this one was a feedback process until we came up with one with no extra storage.

1107


What are external variables in c?

1165


What will the preprocessor do for a program?

1117


write a program fibonacci series and palindrome program in c

1097


Is there a way to switch on strings?

1128


largest Of three Number using without if condition?

1666


How do you define a function?

1076