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 / sangram
p is a pointer and it holds address.
we are assigning 20 to p;it means pointer p points the value pointed by address 20.
so to show the value on address 20 you have give *p
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a pointer variable in c language?
What is use of null pointer in c?
formula to convert 2500mmh2o into m3/hr
Is int a keyword in c?
Is fortran still used in 2018?
Explain the red-black trees?
Explain the difference between the local variable and global variable in c?
What’s the special use of UNIONS?
How old is c programming language?
What is difference between Structure and Unions?
What is c variable?
Are the outer parentheses in return statements really optional?
What is pass by reference in functions?
Write a program to use switch statement.
What is difference between far and near pointers?