int *p=20;
if u print like dis printf("%d",p);
o\p:- 20; how is it possible?
plz give me the explanation.
Answer Posted / sateeshbabu aluri
we are not printing the address of variable
it mens &p;
we are printing value of p.
so,P=20 will be the o/p.
| Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
What is nested structure in c?
Why c is known as a mother language?
Explain how can a program be made to print the name of a source file where an error occurs?
typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?
How can I dynamically allocate arrays?
How can I run c program?
What is the difference between constant pointer and constant variable?
What is pointer to pointer in c?
What functions are used in dynamic memory allocation in c?
What is define directive?
Explain what are multidimensional arrays?
When should structures be passed by values or by references?
Which is better pointer or array?
What is abstract data structure in c?
Give the rules for variable declaration?