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
Explain what’s a signal? Explain what do I use signals for?
What are called c variables?
What is sizeof c?
What are the advantages of using new operator as compared to the function malloc ()?
How can I use a preprocessorif expression to ?
Describe the header file and its usage in c programming?
How will you find a duplicate number in a array without negating the nos ?
What does. int *x[](); means ?
What is wrong with this code?
Why can arithmetic operations not be performed on void pointers?
Explain what are the different data types in c?
write a program to generate address labels using structures?
Which programming language is best for getting job 2020?
Are enumerations really portable?
`write a program to display the recomended action depends on a color of trafic light using nested if statments