what is a pointer

Answers were Sorted based on User's Feedback



what is a pointer..

Answer / chaitali anand tendulkar

A pointer is a variable which contains a address in memory
of another variable. in other words it is a address of
variable.

Is This Answer Correct ?    27 Yes 2 No

what is a pointer..

Answer / roshan

In a simple word.....
A pointer is a variable which is store the address of another variable.

Is This Answer Correct ?    11 Yes 1 No

what is a pointer..

Answer / anil yadav

A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type....

Is This Answer Correct ?    4 Yes 0 No

what is a pointer..

Answer / joshi

Pointer is a special variable which hold the address of the
next variable.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More C Interview Questions

Explain union. What are its advantages?

0 Answers  


How would you print out the data in a binary tree, level by level, starting at the top?

6 Answers   Amazon, Microsoft,


Explain logical errors? Compare with syntax errors.

0 Answers  


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;

0 Answers  


find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }

10 Answers   Amdocs, TCS,






what is the basis for selection of arrays or pointers as data structure in a program

0 Answers   TCS,


Create a simple code fragment that will swap the values of two variables num1 and num2.

0 Answers  


main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }

4 Answers  


What are integer variable, floating-point variable and character variable?

0 Answers  


What is the use of putchar function?

0 Answers  


Why is structure padding done in c?

0 Answers  


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

0 Answers   Wilco,


Categories