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

i think above program ans ramesh

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1269


What are the difference between a free-standing and a hosted environment?

1221


Explain what is the difference between far and near ?

1048


Explain how can I make sure that my program is the only one accessing a file?

1167


Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?

2626


Write a code to remove duplicates in a string.

984


How is a structure member accessed?

1060


What is indirection?

1023


What is the difference between c &c++?

1087


What are nested functions in c?

976


Explain a pre-processor and its advantages.

1073


Write a program to print fibonacci series without using recursion?

1066


What is c programming structure?

1111


What is difference between function overloading and operator overloading?

1046


Do you know the use of fflush() function?

1012