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

What is #line used for?

1072


What is the newline escape sequence?

1146


What are the types of c language?

1084


How to create struct variables?

1173


What is the difference between formatted&unformatted i/o functions?

1111


which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +

1781


Tell me the use of bit field in c language?

1108


What is a #include preprocessor?

1225


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1548


Which is the best website to learn c programming?

1136


How many parameters should a function have?

1254


What does typeof return in c?

1162


What's the total generic pointer type?

1109


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1757


Can we assign string to char pointer?

1185