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 is s or c?
Explain About fork()?
What are the 4 data types?
What is dangling pointer in c?
What is an auto keyword in c?
What is merge sort in c?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
what is the function of pragma directive in c?
What oops means?
What are the 4 types of functions?
Explain how do I determine whether a character is numeric, alphabetic, and so on?
What is oops c?
How can you determine the maximum value that a numeric variable can hold?
Write a factorial program using C.
What does p mean in physics?