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

What standard functions are available to manipulate strings?

1 Answers  


write a program to rearrange the array such way that all even elements should come first and next come odd

1 Answers  


What's the best way of making my program efficient?

1 Answers   Celstream,


how many argument we can pas in in a function

25 Answers   CTS,


Why do we use c for the speed of light?

1 Answers  


what is default constructor?

2 Answers   HCL,


How many types of arrays are there in c?

1 Answers  


How the processor registers can be used in C ?

7 Answers   HP,


what does ‘#include’ mean?

1 Answers   TCS,


plz answer..... a program that reads non-negative integer and computes and prints its factorial

2 Answers  


int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above

1 Answers  


which of the following statements is incorrect a.typedef struct new{ int n1; char n2; } DATA; b.typedef struct { int n3; char *n4; }ICE; c.typedef union { int n5; float n6; } UDT; d.#typedef union { int n7; float n8; } TUDAT;

5 Answers   Assurgent, TCS,


Categories