Operators in C

Quiz
•
Computers
•
University
•
Hard
Shenbagavalli S.T
Used 545+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
int x;
int y;
int z;
x=3;
y=4;
z = ++x * y++;
printf("%d",z);
12
16
20
0
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In C programming language, which of the following type of operators have the highest precedence
Relational operators
Equality operators
Logical operators
Arithmetic operators
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following comments about the ++ operator are correct?
1) It is a unary operator
2) The operand can come before or after the operator
3)It associates from the right
1 and 3
1 and 2
2 and 3
1,2,3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator has the lowest priority?
++
%
+
||
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
int main()
{
int a = 25%10;
printf("%d", a);
return 0;
}
5
2
2.5
5.5
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
The modulus operator (%) can be used only with integers.
True
False
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
!= is the example of ____________________ operator.
Relational
Logical
Assignment
Conditional
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
SECOND PERIODICAL QUIZ - BLENDED - ITE 260

Quiz
•
University
10 questions
Python debugging

Quiz
•
University
12 questions
Quiz 9: Pointer

Quiz
•
University
10 questions
JAVA operators

Quiz
•
University
10 questions
C++ operator overloading

Quiz
•
University
15 questions
C Language Quiz-1

Quiz
•
University - Professi...
15 questions
PHP STRING AND OPERATORS

Quiz
•
University
15 questions
Python Basics

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University