Operators in C

Quiz
•
Computers
•
University
•
Hard
Shenbagavalli S.T
Used 544+ 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
10 questions
C basic

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
10 questions
Basics Of C Programming

Quiz
•
University
8 questions
Java operators

Quiz
•
University
10 questions
CPE 2B

Quiz
•
University
7 questions
OOP_Viva_P1_B13A_Mar02

Quiz
•
University
15 questions
Soal Java

Quiz
•
11th Grade - University
9 questions
c language quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University