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


Please Help Members By Posting Answers For Below Questions

Explain how are portions of a program disabled in demo versions?

657


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

602


Find MAXIMUM of three distinct integers using a single C statement

628


What is static function in c?

639


Explain how can I convert a string to a number?

647






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

644


How can I make it pause before closing the program output window?

585


what is the role you expect in software industry?

1660


What are the features of c languages?

633


Is swift based on c?

642


How can I open files mentioned on the command line, and parse option flags?

597


Explain enumerated types in c language?

608


How can I open a file so that other programs can update it at the same time?

665


Differentiate between static and dynamic modeling.

626


What is #define?

578