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

Why can arithmetic operations not be performed on void pointers?

1096


the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset

1158


What is wrong in this statement?

1215


How do I read the arrow keys? What about function keys?

1147


In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?

1264


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

2025


write a program to display all prime numbers

2017


What's the total generic pointer type?

1108


What is the use of a ‘’ character?

1142


How can I invoke another program or command and trap its output?

1149


which is an algorithm for sorting in a growing Lexicographic order

1866


FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.

1809


What does the characters “r” and “w” mean when writing programs that will make use of files?

1540


What is the return type of sizeof?

1113


Is c procedural or object oriented?

1086