
C Operators
Authored by btechsmartclass .com
Professional Development
University - Professional Development
Used 120+ times

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
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
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
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?