#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
What kind of structure is a house?
What is the need of structure in c?
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
What is the purpose of type declarations?
Where in memory are my variables stored?
What is uint8 in c?
Differentiate between ordinary variable and pointer in c.
Why c is a procedural language?
write a program to display all prime numbers
What is #define size in c?
What is the difference between āgā and āgā in C?
What is the difference between NULL and NUL?
What is LINKED LIST? How can you access the last element in a linked list?
What are dangling pointers in c?
What are variables and it what way is it different from constants?