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

What is nested structure in c?

1033


Why c is known as a mother language?

1051


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

1158


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1606


How can I dynamically allocate arrays?

1052


How can I run c program?

1141


What is the difference between constant pointer and constant variable?

1187


What is pointer to pointer in c?

1081


What functions are used in dynamic memory allocation in c?

1035


What is define directive?

1100


Explain what are multidimensional arrays?

1019


When should structures be passed by values or by references?

1012


Which is better pointer or array?

993


What is abstract data structure in c?

998


Give the rules for variable declaration?

1140