C Arithmetic Operators

C Arithmetic Operators

University

5 Qs

quiz-placeholder

Similar activities

c set 3

c set 3

University

10 Qs

Data Types in C++

Data Types in C++

University

10 Qs

Arrays - 2D

Arrays - 2D

University

10 Qs

C Functions

C Functions

University

10 Qs

CSCI 1301 - Chapter 5 A

CSCI 1301 - Chapter 5 A

University

8 Qs

Java Lesson 4

Java Lesson 4

5th Grade - University

10 Qs

Quiz 1 - Intro to C

Quiz 1 - Intro to C

University

10 Qs

Techii Quizzz

Techii Quizzz

University

10 Qs

C Arithmetic Operators

C Arithmetic Operators

Assessment

Quiz

Other

University

Medium

Created by

Azrinna Muhamad

Used 16+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression in C:

5 + 3 * 2?

11

16

13

14

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to find the remainder of an integer division in C?

/

%

*

^

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 8 / 2 + 3 * 2 in C?

10

11

9

14

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If int a = 10; and int b = 4;, what is the result of a % b?

0

2

1

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code:

1

-1

-3

4