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...

main()
{
char *p1="Name";
char *p2;
p2=(char *)malloc(20);
while(*p2++=*p1++);
printf("%s\n",p2);
}
what is the output?



Answer Posted / mannucse

name

Is This Answer Correct ?    8 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does sizeof function do?

1129


I heard that you have to include stdio.h before calling printf. Why?

1010


What's a good way to check for "close enough" floating-point equality?

1097


What is typedf?

1069


Why is c so popular?

1120


What does 4d mean in c?

1453


How do we make a global variable accessible across files? Explain the extern keyword?

1831


How can I open files mentioned on the command line, and parse option flags?

1017


How can I manipulate individual bits?

985


What is sizeof int?

1051


What is gets() function?

1077


When can a far pointer be used?

968


What is an auto variable in c?

1171


Explain the concept and use of type void.

1064


What is #line in c?

963