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 program to print prime nums from 1-20 using c programing?

13 Answers   IBM,


Write the following function in C. stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return - 1. The function should not make use of any C library function calls.

3 Answers   Google, Infosys, JTL, OpenFeel,


Is it fine to write void main () or main () in c?

0 Answers  


Is c functional or procedural?

1 Answers  


What is wrong in this statement?

0 Answers  


print the following using nested for loop. 5 4 3 2 1 1 2 3 4 3 2 1 1 2 1 2 1 1 2 3 4 3 2 1 1 2 3 4 5

7 Answers   IBM,


how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?

0 Answers   TCS,


What is the significance of scope resolution operator?

0 Answers   Agilent, ZS Associates,


Why doesnt long int work?

0 Answers  


Can i use “int” data type to store the value 32768? Why?

0 Answers  


the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?

0 Answers  


#include<stdio.h> { printf("Hello"); } how compile time affects when we add additional header file <conio.h>.

0 Answers  


Categories