Question: Chapter 2: Multiple Choice questions 2.31 Evaluate the expression 3*4%6+4*5 (a) 20 (b) 26 (c) 12 (d) 32 2.32 Which statement is false? a) In
Chapter 2: Multiple Choice questions 2.31 Evaluate the expression 3*4%6+4*5 (a) 20 (b) 26 (c) 12 (d) 32 2.32 Which statement is false? a) In algebra, we write ab to multiply a times b b) In C, we write ab to multiply a times b. c) In C, the remainder operator is %. d) In C, integer division yields an integer result. 2.33 Which statement about C arithmetic its false? a) 6/ 3 yields 2 b) 5/ 2 yields 2.5 C) 7 % 3 yields 1 d] 6 % 3 yields 0 2.34 a (bc) may also be written in C as a) ab ac b) (a b)+ c c) a b d) a b ac 2.35 Which statement about precedence is false? a) Parentheses may be used to force the order of evaluation to occur in any sequence desired by the programmer. b) Nested, or embedded parentheses are evaluated last. c) Multiplication has a higher precedence than addition. d) Subtraction has a lower precedence than division
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
