Operators in C

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Habeebuddin Khaja
Used 95+ 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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
C - Language Quiz

Quiz
•
12th Grade
15 questions
Computer

Quiz
•
10th Grade
15 questions
Latihan Pemrograman

Quiz
•
12th Grade
10 questions
Preetest Pemrograman Bahasa C

Quiz
•
11th Grade
10 questions
Test C++

Quiz
•
10th Grade
10 questions
Dasar Pemrograman C++

Quiz
•
10th Grade
10 questions
CP1 Assessment

Quiz
•
11th Grade
10 questions
CS 50 Terminology

Quiz
•
6th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade