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 the concept and use of type void.
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
How can you read a directory in a C program?
What is %g in c?
Why header file is used in c?
Explain what is wrong with this program statement? Void = 10;
How can I convert a number to a string?
How do you determine a file’s attributes?
Differentiate fundamental data types and derived data types in C.
which is an algorithm for sorting in a growing Lexicographic order
Define macros.
Write a program to reverse a given number in c language?
hi, which software companys will take,if d candidate's % is jst 55%?
Explain data types & how many data types supported by c?
Why n++ execute faster than n+1 ?