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 / sateeshbabu aluri

we are not printing the address of variable
it mens &p;
we are printing value of p.
so,P=20 will be the o/p.

Is This Answer Correct ?    3 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

If errno contains a nonzero number, is there an error?

1440


What are the Advantages of using macro

1223


What are the advantages and disadvantages of a heap?

1262


How can a program be made to print the name of a source file where an error occurs?

1272


What is cohesion in c?

1035


When can a far pointer be used?

1082


i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me

1966


Difference between MAC vs. IP Addressing

1204


What is structure pointer in c?

1097


what are the 10 different models of writing an addition program in C language?

1948


What is the difference between class and object in c?

1246


How can you increase the size of a dynamically allocated array?

1239


what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?

1919


Tell me when is a void pointer used?

1248


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1134