int x;
int y;
int z;
x=3;
y=4;
z = ++x * y++;
printf("%d",z);
Operators in C
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Habeebuddin Khaja
Used 94+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 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
10 sec • 1 pt
Which of the following is not a Bitwise operator?
&&
&
|
~
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
none
23
2.8
24
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Among the given operators which operator has the lowest precedence
++
+
%
||
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of the following code
int main()
{
int y=2;
int z=5;
y/=z+2;
printf("y= %d\n",y);
}
0
2
1
7
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What will be the output of the following program
#include<"stdio.h>
int main()
{
int x, y = 5, z = 5;
x = y == z;
printf(\"%d\", x);
getchar();
return 0;
}
1
0
5
none
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Find the output of the given C program.
#include<stdio.h>
int main()
{
printf("%d ", -9 && 9);
printf("%d", -9 || 9);
return 0;
}
9999
99
00
11
15 questions
Matrici A
Quiz
•
11th Grade
10 questions
โครงสร้างภาษา C
Quiz
•
11th Grade
15 questions
C Programming
Quiz
•
8th - 10th Grade
12 questions
for dan if bahasa C
Quiz
•
11th Grade
10 questions
CP1 Assessment
Quiz
•
11th Grade
10 questions
CS 50 Terminology
Quiz
•
6th - 10th Grade
10 questions
Dasar Pemrograman C++
Quiz
•
10th Grade
11 questions
Diagnostico ProgramacionB25
Quiz
•
10th Grade
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
17 questions
Chapter 12 - Doing the Right Thing
Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities
Quiz
•
9th - 12th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
20 questions
Taxes
Quiz
•
9th - 12th Grade
17 questions
Parts of Speech
Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression
Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University