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


Please Help Members By Posting Answers For Below Questions

Is c pass by value or reference?

593


What do header files do?

600


i got 75% in all semester am i eligible for your company

1733


Add Two Numbers Without Using the Addition Operator

351


What is the general form of #line preprocessor?

581






What are the storage classes in C?

619


write a program to concatenation the string using switch case?

1553


Explain how do you list a file’s date and time?

615


Sir i need notes for structure,functions,pointers in c language can you help me please

1941


Explain function?

660


Explain the use of 'auto' keyword

675


Is array a primitive data type in c?

573


What is extern variable in c with example?

535


What is atoi and atof in c?

612


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

805