Search Header Logo

C Operators

Authored by btechsmartclass .com

Professional Development

University - Professional Development

Used 120+ times

C Operators
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

10 sec • 1 pt

In C, the result of the conditional operator is ____________.

true

false

1

0

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Select the data types that can be used with the % operator.

int

float

double

all of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the given code?

Error

10 20 30

10 20 1

10 200 1

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the given code?

Error

10 20 30

10 20 1

10 200 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the given code?

Error

10 20 30

100 100 100

100 200 300

None of the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which bitwise operator is suitable for unsetting a bit in a number?

|

&

^

~

All the above

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which bitwise operator is suitable for setting a bit in a number?

|

&

^

~

All the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?