#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
How are Structure passing and returning implemented by the complier?
regarding pointers concept
Write a c program to build a heap method using Pointer to function and pointer to structure ?
What is formal argument?
What are volatile variables in c?
Is malloc memset faster than calloc?
Is python a c language?
What are linked lists in c?
I came across some code that puts a (void) cast before each call to printf. Why?
What is extern storage class in c?
What does char * * argv mean in c?
Explain built-in function?
What are the features of the c language?
What are the advantages of Macro over function?
Explain heap and queue.