#include<stdio.h>
void main()
{
int a=5,b=6,c;
int x=(a<b)+7;
int y=(x==7)*9;
int z=(c=x+y)*2;
printf("%h %h %h",x,y,z);
}
What is the output? Explain it.
Answer Posted / moolshankershukla
erreor generate because condition will not operate directly.
such as.
int x=(a<b)+7;
int y=(x==7)*9;
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are header files why are they important?
What is assignment operator?
What is keyword in c?
Are there constructors in c?
What is the advantage of using #define to declare a constant?
Can we change the value of #define in c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What is the purpose of & in scanf?
What is wrong with this program statement?
Difference between MAC vs. IP Addressing
What functions are used for dynamic memory allocation in c language?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
How can I write a function that takes a format string and a variable number of arguments?
Which is best linux os?
Explain the difference between #include "..." And #include <...> In c?