why we use pointer in c

Answers were Sorted based on User's Feedback



why we use pointer in c..

Answer / aravind

To pass the actual arguments by address instead by calling
by reference in function.

Is This Answer Correct ?    27 Yes 2 No

why we use pointer in c..

Answer / srinivas

the speed of execution will be increased because we
accessing address of the variable rather than variables

Is This Answer Correct ?    15 Yes 1 No

why we use pointer in c..

Answer / srinivash

to store the address of a variable which s effective in
fuction calling by call by reference r call by address method

Is This Answer Correct ?    14 Yes 1 No

why we use pointer in c..

Answer / ram

reference to the address of the variable

Is This Answer Correct ?    11 Yes 0 No

why we use pointer in c..

Answer / nipa

using pointer some facility is there
1.. we reduce length and complexity of a program
2.. increase speed of execution of program
3.. it can capable to handling data table
4.. to access variable which is defined outside the function
5 .. handle character string

Is This Answer Correct ?    4 Yes 2 No

why we use pointer in c..

Answer / deena

to indicate the address of variable

Is This Answer Correct ?    0 Yes 0 No

why we use pointer in c..

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

More C Interview Questions

write a c program that prints all multiples of 3between 1 and 50.

5 Answers  


Consider a language that does not have arrays but does have stacks as a data type.and PUSH POP..are all defined .Show how a one dimensional array can be implemented by using two stacks.

3 Answers   Google,


How to write in a function declaration and in function call in which the function has 'n' number of varible or arguments?

2 Answers  


what is a function method?give example?

0 Answers  


Please provide question papers of NATIONAL INFORMATICS CENTRE for Scientific officer

0 Answers  






12344321 123 321 12 21 1 1 how i print this program??

5 Answers   DSR Management, Winit,


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

0 Answers  


How Many Header Files in c?

2 Answers   TCS,


Give the Output : * * * * * * * * * *

2 Answers  


How can I trap or ignore keyboard interrupts like control-c?

0 Answers  


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

0 Answers   Wilco,


What does return 1 means in c?

0 Answers  


Categories