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 enum is used in c?

950


What are the functions to open and close the file in c language?

1038


What is a c token and types of c tokens?

1057


What is modeling?

1047


How can I find the modification date of a file?

1279


What is a pragma?

1124


What type is sizeof?

1037


Explain what is the difference between functions getch() and getche()?

1049


Are there namespaces in c?

1120


how to make a scientific calculater ?

2067


How are Structure passing and returning implemented by the complier?

1168


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1164


What is the scope of local variable in c?

1123


Explain how can I remove the trailing spaces from a string?

1047


How is a macro different from a function?

1173