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
What is the advantage of an array over individual variables?
praagnovation
Who invented bcpl language?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What are high level languages like C and FORTRAN also known as?
Explain about C function prototype?
What does volatile do?
How to implement a packet in C
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.
What are external variables in c?
What will the preprocessor do for a program?
write a program fibonacci series and palindrome program in c
Is there a way to switch on strings?
largest Of three Number using without if condition?
How do you define a function?