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
What's a good way to check for "close enough" floating-point equality?
What is getche() function?
What are reserved words?
what are the facialities provided by you after the selection of the student.
What is main () in c?
What is an lvalue?
What is null pointer in c?
What is floating point constants?
Why are all header files not declared in every c program?
What is an identifier?
How can you read a directory in a C program?
what is a NULL Pointer? Whether it is same as an uninitialized pointer?
What does sizeof return c?
Who developed c language?
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