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

the answer is bye

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

5140


Is this program statement valid? INT = 10.50;

1081


Explain how does flowchart help in writing a program?

1060


Why is not a pointer null after calling free?

968


What is use of pointer?

1008


Which is an example of a structural homology?

1243


what do u mean by Direct access files? then can u explain about Direct Access Files?

2029


write a proram to reverse the string using switch case?

2881


What is ponter?

1222


What's the right way to use errno?

1086


Is it possible to pass an entire structure to functions?

941


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

978


What's the best way of making my program efficient?

1037


Write a program to check armstrong number in c?

1082


Write a program which returns the first non repetitive character in the string?

1053