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

int *p=20;
means
int *p;
p=20;
so the address of p is 20
printf("%d",p);
it prints 20 because now the base address of p is 20
even if we print as
printf("%u",p);
the o/p will be 20

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the syallabus of computer science students in group- 1?

2325


what is the function of pragma directive in c?

1127


List some of the static data structures in C?

1204


What are different storage class specifiers in c?

1097


I have a varargs function which accepts a float parameter?

1058


What is difference between far and near pointers?

1049


Explain how can I avoid the abort, retry, fail messages?

1061


Is it possible to execute code even after the program exits the main() function?

1350


in linking some of os executables are linking name some of them

2144


What is difference between array and pointer in c?

1100


What is difference between structure and union in c programming?

1118


Why is a semicolon (;) put at the end of every program statement?

1077


Difference between strcpy() and memcpy() function?

1158


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

2036


Not all reserved words are written in lowercase. TRUE or FALSE?

1237