what is pointer?

Answers were Sorted based on User's Feedback



what is pointer?..

Answer / likhit gatagat

pointers in C are variables storing address of some another
memory variable/location to which they are pointing

e.g: int *p;
int s;
p=&s;

now if s has memory address 101 then p will be storing
this address i.e pointing to variable s

Is This Answer Correct ?    17 Yes 0 No

what is pointer?..

Answer / manoj singh

pointer is a just like a simple veriable as hold down the
address of another veriable.
it's value denoted by *.

Is This Answer Correct ?    6 Yes 1 No

what is pointer?..

Answer / vijaya

By default functions are extern, so it is visible from the outer files. If it is as static then it is in invisible from the outer files.

Is This Answer Correct ?    0 Yes 0 No

what is pointer?..

Answer / sridhar

Pointers are the variables,which are used to store address of the another variable.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

Is it possible to execute code even after the program exits the main() function?

0 Answers  


#include<stdio.h> void main() { int a,b,c; a=b=c=1; c=++a || ++b && ++c; printf("%d\t%d\t%d",a,b,c); }

3 Answers  


How can I run c program?

0 Answers  


write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?

1 Answers  


Which is best book for data structures in c?

0 Answers  






How can I read a binary data file properly?

0 Answers  


void main() { int a=1; printf("%d %d %d",a,++a,a++); } the output is supposed to be 1 2 2....but it is 3 3 1 this is due to calling conventions of C. if anyone can explain me how it happens?

7 Answers  


how to swap 4 number without using temporary number?

2 Answers  


What is c token?

0 Answers  


What are the general description for loop statement and available loop types in c?

0 Answers  


how to determine the complexity of an algorithm as log(n)

1 Answers   Google,


How are portions of a program disabled in demo versions?

0 Answers  


Categories