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 the use of getch ()?
How can I change the size of the dynamically allocated array?
What are called c variables?
What are qualifiers?
in iso what are the common technological language?
What is the difference between single charater constant and string constant?
What is sizeof in c?
What is time null in c?
What does the message "automatic aggregate intialization is an ansi feature" mean?
What will be your course of action for a push operation?
What is oops c?
Is it possible to pass an entire structure to functions?
Is there a built-in function in C that can be used for sorting data?
Is the exit() function same as the return statement? Explain.
Why we use void main in c?