#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
How do I read the arrow keys? What about function keys?
What is string constants?
What is void main ()?
void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply
What is your stream meaning?
What do header files do?
Is a pointer a kind of array?
What is 1d array in c?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What is a built-in function in C?
How to create struct variables?
write a program to concatenation the string using switch case?
What is a scope resolution operator in c?
Sir i need notes for structure,functions,pointers in c language can you help me please
Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?