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 / immanuel
printf("%p",p); // this prints the address to 20
printf("%d",p); //this prints the value itself.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What are local static variables? How can you use them?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
WRITE A CODE IN C TO SEARCH A FILE FROM NOTEPAD FILE.
What is dynamic variable in c?
What is difference between stdio h and conio h?
What is the heap?
How can I read in an object file and jump to locations in it?
What is the difference between functions abs() and fabs()?
what are bit fields? What is the use of bit fields in a structure declaration?
What is pass by value in c?
What is pointer & why it is used?
What is the difference between #include
What is difference between structure and union?
Who developed c language?
Why does everyone say not to use gets?