int x;
int y;
int z;
x=3;
y=4;
z = ++x * y++;
printf("%d",z);
Operators in C
Quiz
•
Computers
•
University
•
Hard
Shenbagavalli S.T
Used 535+ 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
10 questions
JAVA operators
Quiz
•
University
10 questions
Basics of C
Quiz
•
University
10 questions
Array in C
Quiz
•
University
15 questions
C Language Quiz-1
Quiz
•
University - Professi...
10 questions
C - Pointers
Quiz
•
University
13 questions
C programming-1
Quiz
•
University
10 questions
Basics Of C Programming
Quiz
•
University
10 questions
C Programming Lab Quiz
Quiz
•
University
15 questions
Character Analysis
Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
10 questions
American Flag
Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25
Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers
Quiz
•
6th - 8th Grade