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

bye

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Sir i need notes for structure,functions,pointers in c language can you help me please

2369


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1134


Write a program to print fibonacci series without using recursion?

1086


What is volatile variable how do you declare it?

1055


What is bubble sort in c?

1019


What are data types in c language?

1030


Do you know the difference between malloc() and calloc() function?

1026


What is the c value paradox and how is it explained?

1013


What is the process to generate random numbers in c programming language?

1128


Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above

1119


How is a pointer variable declared?

1042


How to draw the flowchart for structure programs?

9297


What is difference between structure and union in c?

946


Explain setjmp()?

1033


What is the difference between %d and %i?

1064