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

The answer is bye...

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In C language what is a 'dangling pointer'?

1243


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

2434


what is the function of pragma directive in c?

1181


What is assignment operator?

1113


What is #line?

1112


What is %s and %d in c?

1107


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

1138


What is your stream meaning?

1337


How can I find the modification date of a file?

1338


What is anagram in c?

984


What language is windows 1.0 written?

1139


Why is c fast?

1122


Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

1068


What is meant by recursion?

1100


What is an lvalue?

1107