
C Assignment Operators
Authored by Azrinna Muhamad
Other
University
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code:
10
15
5
20
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used to divide and assign the result in C?
/=
*=
+=
-=
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the following code:
20
40
100
60
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If int a = 5;, what will be the result of a -= 2?
7
3
2
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print:
1
0
3
4
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?