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
Is c pass by value or reference?
What do header files do?
i got 75% in all semester am i eligible for your company
Add Two Numbers Without Using the Addition Operator
What is the general form of #line preprocessor?
What are the storage classes in C?
write a program to concatenation the string using switch case?
Explain how do you list a file’s date and time?
Sir i need notes for structure,functions,pointers in c language can you help me please
Explain function?
Explain the use of 'auto' keyword
Is array a primitive data type in c?
What is extern variable in c with example?
What is atoi and atof in c?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational