#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 / manohar
%h%h%h
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What are pointers in C? Give an example where to illustrate their significance.
What is preprocessor with example?
Should I learn c before c++?
What are the general description for loop statement and available loop types in c?
Explain what is the benefit of using #define to declare a constant?
Why void is used in c?
What is the function of volatile in c language?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
What does *p++ do? What does it point to?
Is printf a keyword?
The difference between printf and fprintf is ?
How was c created?
please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code
What is pointer and structure in c?
Are there constructors in c?