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

The answer is bye...

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c token?

1040


How can I do peek and poke in c?

1053


Can a pointer be static?

1047


What is the right type to use for boolean values in c?

1014


How main function is called in c?

1098


swap 2 numbers without using third variable?

1098


What is the use of gets and puts?

1002


The difference between printf and fprintf is ?

1246


What is string function in c?

962


What are the primitive data types in c?

1038


What is structure data type in c?

999


Function which gives a pointer to a binary trees const an integer value at each code, return function of all the nodes in binary tree.?

1043


Can you write the algorithm for Queue?

2055


How we can insert comments in a c program?

1093


When should a far pointer be used?

1094