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...

f(*p)
{
p=(char *)malloc(6);
p="hello";
return;
}
main()
{
char *p="bye";
f(p);
printf("%s",p);
}
what is the o/p?

Answer Posted / vignesh1988i

bye

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a void pointer? When is a void pointer used?

1062


Explain how can I right-justify a string?

1046


"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above

1025


Who invented b language?

1417


Can the size of an array be declared at runtime?

1088


What is a built-in function in C?

1606


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

1093


When is the “void” keyword used in a function?

1504


When was c language developed?

1196


Ow can I insert or delete a line (or record) in the middle of a file?

1005


What is a string?

1121


explain what are pointers?

1016


Describe the order of precedence with regards to operators in C.

1047


Can I initialize unions?

1043


What is c system32 taskhostw exe?

1027