Question: it is an if else statement and there might be multiple answers correct . it is based on C language Question 2 (2 points) 14
Question 2 (2 points) 14 15 int x = 5; 16 int y = 6; 17 if (x 5) 19 puts("Meow"); } 20 else 21 puts("hi"); 22 puts("bye"); 23 A. How the above code snippet, if at all, must be changed to output the following: bye Notot it is a mum select question therefore, one or more options can be correct also remember to deselect any incorrect choices that you may have mistakenly selected below are the options How the above code snippet, if at all, must be changed to output the following: bye Notel It is a multi-select question, therefore, one or more options can be correct, also remember to deselect any incorrect choices that you may have mistakenly selected OA) No change required as that is what the original code's output is. B) Change line# 15 to the following: int x = 1: C) Delete line# 21 D) Add a pair of braces to enclose line# 18 to line 21
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
