#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 is the difference between pure virtual function and virtual function?
What is a pragma?
a value that does not change during program execution a) variabe b) argument c) parameter d) none
what is the function of pragma directive in c?
Is Exception handling possible in c language?
Why is sizeof () an operator and not a function?
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
what is a constant pointer in C
Differentiate between a for loop and a while loop? What are it uses?
Write a code to generate a series where the next element is the sum of last k terms.
What is property type c?
Compare interpreters and compilers.
How will you write a code for accessing the length of an array without assigning it to another variable?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions