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

Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?

1126


What is n in c?

1112


When should structures be passed by values or by references?

1082


Write the syntax and purpose of a switch statement in C.

1150


Is sizeof a keyword in c?

1014


Which is an example of a structural homology?

1376


What is the use of linkage in c language?

1102


What are the similarities between c and c++?

1140


Explain a file operation in C with an example.

1173


explain how do you use macro?

1206


What is selection sort in c?

1176


Explain how can type-insensitive macros be created?

1042


What are enumerated types?

1265


What is the purpose of type declarations?

1170


How do you determine whether to use a stream function or a low-level function?

1191