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
Explain how are portions of a program disabled in demo versions?
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
Find MAXIMUM of three distinct integers using a single C statement
What is static function in c?
Explain how can I convert a string to a number?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
How can I make it pause before closing the program output window?
what is the role you expect in software industry?
What are the features of c languages?
Is swift based on c?
How can I open files mentioned on the command line, and parse option flags?
Explain enumerated types in c language?
How can I open a file so that other programs can update it at the same time?
Differentiate between static and dynamic modeling.
What is #define?