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
Explain can static variables be declared in a header file?
What is cohesion and coupling in c?
Why is void main used?
What is optimization in c?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is use of null pointer in c?
How to Throw some light on the splay trees?
Explain how do you convert strings to numbers in c?
What are the types of pointers?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Mention four important string handling functions in c languages .
In c language can we compile a program without main() function?
What is scope of variable in c?
What is #line?
Explain what does the function toupper() do?