#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 / moolshankershukla
erreor generate because condition will not operate directly.
such as.
int x=(a<b)+7;
int y=(x==7)*9;
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain how can I convert a string to a number?
can anyone please tell about the nested interrupts?
Do you have any idea about the use of "auto" keyword?
How main function is called in c?
Difference between strcpy() and memcpy() function?
What is the newline escape sequence?
What is the function of volatile in c language?
Which is better pointer or array?
What does 4d mean in c?
given post order,in order construct the corresponding binary tree
What is "Hungarian Notation"?
can we change the default calling convention in c if yes than how.........?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
program to convert a integer to string in c language'