Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


why do we use pointer instead directly acessing the data?

Answers were Sorted based on User's Feedback



why do we use pointer instead directly acessing the data?..

Answer / 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

why do we use pointer instead directly acessing the data?..

Answer / jitendra mishra

As we know pointer shows the address of a particular variable in the memory space.and accessing variable by its name is a bit time consuming because there can have more than one variable of same name but there can not be same address for two different variables.So pointer is more accurate and quick.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

#include<stdio.h> void main() { int a=10,b=20,c=30; printf("%d",scanf("%d%d%d",&a,&b,&c)); } what is the output for this?

4 Answers   IIIT,


what is difference between ++(*p) and (*p)++

17 Answers   Accenture, HCL, IBM,


Look at the Code: main() { int a[]={1,2,3},i; for(i=0;i<3;i++) { printf("%d",*a); a++; } } Which Statement is/are True w.r.t the above code? I.Executes Successfully & Prints the contents of the array II.Gives the Error:Lvalue Required III.The address of the array should not be changed IV.None of the Above. A)Only I B)Only II C)II & III D)IV

5 Answers   Accenture,


Dear Sir, we are required the bubble sorting programs Regs Prem

1 Answers  


What is static volatile in c?

0 Answers  






pgm to find middle element of linklist(in efficent manner)

4 Answers   Huawei,


Why do u use # before include in a C Progam?

9 Answers   IBM,


What does the && operator do in a program code?

0 Answers  


why array index always starts from zero??

4 Answers   TCS,


write a c programs to do multiplication of two numbers with out using arithmatic operator ??????????

7 Answers   Infosys, TCS,


Why header file is used in c?

0 Answers  


why u join this call center?

6 Answers   DELL,






Categories