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 / lylez00
Because you're printing p, not *p. scanf takes addresses of
variables as arguments, but printf does not.
| Is This Answer Correct ? | 7 Yes | 10 No |
Post New Answer View All Answers
How can I read/write structures from/to data files?
Can static variables be declared in a header file?
What is the use of header?
What is the description for syntax errors?
What is the right way to use errno?
What does the error 'Null Pointer Assignment' mean and what causes this error?
What is scope rule of function in c?
Write a c program to build a heap method using Pointer to function and pointer to structure ?
How can you avoid including a header more than once?
How is a null pointer different from a dangling pointer?
How do you list a file’s date and time?
Why does notstrcat(string, "!");Work?
What is line in c preprocessor?
Explain can static variables be declared in a header file?
What is difference between union All statement and Union?