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
What does sizeof function do?
I heard that you have to include stdio.h before calling printf. Why?
What's a good way to check for "close enough" floating-point equality?
What is typedf?
Why is c so popular?
What does 4d mean in c?
How do we make a global variable accessible across files? Explain the extern keyword?
How can I open files mentioned on the command line, and parse option flags?
How can I manipulate individual bits?
What is sizeof int?
What is gets() function?
When can a far pointer be used?
What is an auto variable in c?
Explain the concept and use of type void.
What is #line in c?