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 / hussain reddy

hello

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why functions are used in c?

1073


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

5897


What is data types?

1026


Can include files be nested? How many levels deep can include files be nested?

1091


write a program for the normal snake games find in most of the mobiles.

2219


What is pointer and structure in c?

1079


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2842


What does malloc () calloc () realloc () free () do?

1006


What are run-time errors?

1058


What does s c mean in text?

1057


Is c++ based on c?

1025


Why is it important to memset a variable, immediately after allocating memory to it ?

2005


When should the volatile modifier be used?

1111


what is use of malloc and calloc?

1853


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1631