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 / deepak
/*int *p=20;
is same as*/
int *p;
p=20;
so p having address of an integer value;
so
printf("%d,%u",p,p);
will give you answer 20,20
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is the use of structure padding in c?
Explain what will be the outcome of the following conditional statement if the value of variable s is 10?
How can my program discover the complete pathname to the executable from which it was invoked?
Write a program to print all permutations of a given string.
What is the use of in c?
Can variables be declared anywhere in c?
How important is structure in life?
How can I call fortran?
Ow can I insert or delete a line (or record) in the middle of a file?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
Is c high or low level?
What is wild pointer in c?
Why do we use null pointer?
What is wrong in this statement? scanf(ā%dā,whatnumber);
Is there anything like an ifdef for typedefs?