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

What is an example of structure?

1102


What does it mean when a pointer is used in an if statement?

1157


What is the collection of communication lines and routers called?

1180


What is an lvalue in c?

1181


find out largest elemant of diagonalmatrix

2325


Can include files be nested?

1162


How can this be legal c?

1152


What is maximum size of array in c?

1088


What is 02d in c?

1112


Do you know the purpose of 'register' keyword?

1070


What does %d do in c?

1012


What is the size of a union variable?

1100


Explain the difference between strcpy() and memcpy() function?

1065


Why shouldn’t I start variable names with underscores?

1119


Is null always defined as 0(zero)?

1177