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

printf("%p",p); // this prints the address to 20

printf("%d",p); //this prints the value itself.

Is This Answer Correct ?    2 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

program to convert a integer to string in c language'

2401


Explain how can I remove the trailing spaces from a string?

994


What is indirection?

1026


hi, which software companys will take,if d candidate's % is jst 55%?

2047


What is c++ used for today?

1062


Can you write a programmer for FACTORIAL using recursion?

989


What does 3 periods mean in texting?

1014


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1674


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

1034


What is a constant and types of constants in c?

1071


can we implement multi-threads in c.

1091


What is the difference between single charater constant and string constant?

1035


please give me some tips for the placement in the TCS.

2055


What is a class c rental property?

1044


How can you be sure that a program follows the ANSI C standard?

1564