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

I need to take a sentence from input and sort the words alphabetically using the C programming language. Note: This is C not C++. qsort and strtok not allowed

4 Answers   Aspire,


write a program to display the numbers in the following 4 4 3 3 2 2 1 1 0 1 1 2 2 3 3 4 4

1 Answers  


void main() {int a[5],i,b=16; for(i=0;i<5;i++) a[i]=2*i; f(a,5,b); for(i=0;i<5;i++) printf("\n %d",a[i]); printf("\n %d",b); } f(int *x,int n,int y) { int i; for(i=0;i<n;i++) *(x+i)+=2; y=y+2; }wat r the errors in the prg.and improvise the prg to get o/p.?

2 Answers   TCS,


Write a program that takes a 5 digit number and calculates 2 power that number and prints it

5 Answers   ABS, Accenture, HCL, Infosys, Infotech, SoftSolve, Software India, TCS, Vertex, Vimukti Technologies,


sir i got 146 correct question & i have also the advantage of height so will they consider my marks as 146+3=149.can any body tell me how they consider my height marks.

1 Answers  






write a program in c to read array check element is present or not?

1 Answers  


could u able to tell about suresoft technical session

1 Answers  


State the difference between x3 and x[3].

0 Answers   Aricent,


A MobileNumber is a VIP number if it satisfy the following conditions. The operator should be Vodafone. Atleast one 0 (Zero) should be exist in mobile number. The number should not end with 8. The single digit sum of all the digits in the number should be equal to 9. For example if the number is 9876543210, the sum is 9+8+7+...+1+0 = 45. Sum of 4+5 = 9. Write a method: private boolean isVIPMobileNumber(String mobileNum, String operator) mobileNum phone number operator mobile operator as bsnl, Vodafone

1 Answers  


WAP that prints the number from 1 to 100. but for multiplies of three print "XXX" instead of the number and for the multiplies of five print "YYY" . for number which are multiplies of both three and five print "ZZZ"

3 Answers  


multiple of 9 without useing +,* oprator

3 Answers  


Explain how can you be sure that a program follows the ansi c standard?

0 Answers  


Categories