#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 / srinath
x=8;
y=0;
z=16;
| Is This Answer Correct ? | 19 Yes | 6 No |
Post New Answer View All Answers
What are header files in c?
Explain how can you determine the size of an allocated portion of memory?
Explain the concept and use of type void.
What happens if header file is included twice?
Is there a built-in function in C that can be used for sorting data?
Explain what are run-time errors?
How do I use void main?
What is the difference between far and near ?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Why structure is used in c?
What will be the outcome of the following conditional statement if the value of variable s is 10?
What is the use of bit field?
What is the heap?
Why does everyone say not to use scanf? What should I use instead?
What is hash table in c?