what is a pointer
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Answer / joshi
Pointer is a special variable which hold the address of the
next variable.
Is This Answer Correct ? | 3 Yes | 2 No |
Explain union. What are its advantages?
How would you print out the data in a binary tree, level by level, starting at the top?
Explain logical errors? Compare with syntax errors.
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
find the output of the following program main() { int x=5, *p; p=&x; printf("%d",++*p); }
what is the basis for selection of arrays or pointers as data structure in a program
Create a simple code fragment that will swap the values of two variables num1 and num2.
main() { intj; while9j<=10) { printf("\n%d",j); j=j+1; } }
What are integer variable, floating-point variable and character variable?
What is the use of putchar function?
Why is structure padding done in c?
#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); }