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 / udanesh

int *p=20 means
int *p;
p=20;
so when you print the value of p definitely you will get the output as 20 because the value of p is 20

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does stand for?

1051


What is the difference between union and structure in c?

1107


What is optimization in c?

960


What is %d called in c?

1189


What does & mean in scanf?

1055


What is return in c programming?

933


In C programming, how do you insert quote characters (‘ and “) into the output screen?

1495


Explain what does it mean when a pointer is used in an if statement?

1023


Whats s or c mean?

963


Is javascript based on c?

1013


Once I have used freopen, how can I get the original stdout (or stdin) back?

1048


What is typedef example?

1127


Explain how do you list a file’s date and time?

1004


write a C program:There is a mobile keypad with numbers 0-9 and alphabets on it. Take input 0f 7 keys and then form a word from the alphabets present on the keys.

15949


Why is sizeof () an operator and not a function?

993