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);
}

Answer Posted / guest

error

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what’s a signal? Explain what do I use signals for?

1165


What are called c variables?

1065


What is sizeof c?

1077


What are the advantages of using new operator as compared to the function malloc ()?

1351


How can I use a preprocessorif expression to ?

1064


Describe the header file and its usage in c programming?

1072


How will you find a duplicate number in a array without negating the nos ?

2135


What does. int *x[](); means ?

1070


What is wrong with this code?

1185


Why can arithmetic operations not be performed on void pointers?

1046


Explain what are the different data types in c?

1223


write a program to generate address labels using structures?

4577


Which programming language is best for getting job 2020?

1052


Are enumerations really portable?

1028


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2135