#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
When should a type cast be used?
What is a string?
What is volatile variable in c with example?
What is restrict keyword in c?
How is a null pointer different from a dangling pointer?
What is the size of enum in c?
How can you invoke another program from within a C program?
Explain the properties of union.
How can I read and write comma-delimited text?
Can a pointer be null?
what value is returned to operating system after program execution?
What is the c language function prototype?
What do you mean by keywords in c?
How can you find out how much memory is available?
What does the file stdio.h contain?