Question 5: Suppose that x is an int variable, ch is a char variable, and the input is: 276 Choose the values after the
Posted: Sun May 15, 2022 12:25 pm
Question 5: Suppose that x is an int variable, ch is a char variable, and the input is: 276 Choose the values after the following statement executed: cin >> ch >>X; a. ch = ' ,x=276 b. ch = 'b', x= 76 c. ch = '2', x = 76 ü d. ch = "276', x=. 9 Question 6: Which of the following operators has the highest precedence? a.!ü b. * c. % d. = Question 7: Assume you have three int variable: x = 2, y = 6, and z. Choose the value of z in the following expression: z= (y/ X>0)? x:y; a. 2 ü b. 3 c. 4 d6