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
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What is n in c?
When should structures be passed by values or by references?
Write the syntax and purpose of a switch statement in C.
Is sizeof a keyword in c?
Which is an example of a structural homology?
What is the use of linkage in c language?
What are the similarities between c and c++?
Explain a file operation in C with an example.
explain how do you use macro?
What is selection sort in c?
Explain how can type-insensitive macros be created?
What are enumerated types?
What is the purpose of type declarations?
How do you determine whether to use a stream function or a low-level function?