60 412
Assignments Done
98,2%
Successfully Done
In April 2018

Answer to Question #53571 in C for rajashree g.s.

Question #53571
#include<stdio.h>
int main()
{
int x=15;
printf("\n %d %d %d",x!=15,x=20,x<30);
return 0;
}

In this program x is already assigned the value 15. what will be the output and explain sir.
Expert's answer
Output.
1 20 1
Solution.
x!=15 equals 1 (false)
x=20 equals 20
x<30 equals 1 (false)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions