#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 / mohit (firozabad, adc)
Here The Program will be print the Message %h%h%h only
because in the c language
the data type print the integer value by %d
character by %c
float by %f
pointer type by %u
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Multiply an Integer Number by 2 Without Using Multiplication Operator
When should the const modifier be used?
Implement bit Array in C.
What does sizeof int return?
What is the difference between %d and %i?
How can I get random integers in a certain range?
Is null equal to 0 in sql?
What is selection sort in c?
What is difference between scanf and gets?
What is the difference between #include and #include 'file' ?
What are the different types of control structures in programming?
What are the different types of data structures in c?
What are the 4 types of unions?
What is identifier in c?
how to find binary of number?