main()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}

Answer Posted / nithya

output:

undefined symbol 'intx'
undefined symbol 'y'
undefined symbol 'z'
syntax error 'printf(%d",x)'

the above code will be change

main()
{
int x=2,y=6,z=6;
x=y=z;
printf("%d",x);
}

output:

warning error:y assign value not used

6

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What's a good way to check for "close enough" floating-point equality?

631


What is getche() function?

613


What are reserved words?

661


what are the facialities provided by you after the selection of the student.

1664


What is main () in c?

590






What is an lvalue?

638


What is null pointer in c?

599


What is floating point constants?

695


Why are all header files not declared in every c program?

604


What is an identifier?

632


How can you read a directory in a C program?

656


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

762


What does sizeof return c?

610


Who developed c language?

644


Iam a B.Tech graduate and completed my engineering in 2009, from 2005 to 2009 and after that i had done nothing.Now i want to do job and get into BPO field . Friends give me suggestions as what to say in interview... if they ask me that what would you had done ... these many years without doing job ??????? pls urgent

1432