Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions