Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How can I read/write structures from/to data files?

976


Can static variables be declared in a header file?

1063


What is the use of header?

1095


What is the description for syntax errors?

1171


What is the right way to use errno?

1060


What does the error 'Null Pointer Assignment' mean and what causes this error?

1226


What is scope rule of function in c?

1102


Write a c program to build a heap method using Pointer to function and pointer to structure ?

4695


How can you avoid including a header more than once?

988


How is a null pointer different from a dangling pointer?

1035


How do you list a file’s date and time?

1073


Why does notstrcat(string, "!");Work?

1153


What is line in c preprocessor?

1064


Explain can static variables be declared in a header file?

1156


What is difference between union All statement and Union?

1113