Question: Question 1 int main(void) { int a = 500, b, c; if (a >= 400) b = 300; C = 200; printf ( %d %d,

 Question 1 int main(void) { int a = 500, b, c;
if (a >= 400) b = 300; C = 200; printf ("

Question 1 int main(void) { int a = 500, b, c; if (a >= 400) b = 300; C = 200; printf (" %d %d", b, c): return 0; } Output as you would see on the compiler: Question 2 5.5 pts Consider the following variables: int x = 3, y=10 : Which of the following statements are true? For the line, if(x=- y lly> 10), the expression y>=10 will be skipped due to short circuit evaluation For the line, if (y> -10 ||-y), the expression x wy will be skipped due to short circuit evaluation For the line, if (x == y && y>-10), the expression y>-10 will be skipped due to short circuit evaluation For the line, if(x**y && y> -10), both of the expressions will be evaluated For the line, if(y-10 | *** y), both of the expressions will be evaluated For the line, if(x + y lly-10), both of the expressions will be evaluated For the line, if (y-10 && *-*y), both of the expressions will be evaluated For the line, if(y-10 && ***y), the expression x +y will be skipped due to short circuit evaluation

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!