Operators in C

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Habeebuddin Khaja
Used 99+ 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
10 questions
PEMROGRAMAN

Quiz
•
10th Grade
10 questions
แบบทดสอบก่อนเรียนภาษาPython

Quiz
•
10th Grade
15 questions
Informatika X Pemrograman C

Quiz
•
10th Grade
15 questions
Programming Quiz 1-3 | LPE-101 by Mettle X

Quiz
•
9th - 12th Grade
15 questions
Quiz - 10 on switch in C

Quiz
•
12th Grade
10 questions
SOAL TPMM 1

Quiz
•
10th Grade
10 questions
python

Quiz
•
9th - 12th Grade
15 questions
กลางภาค ภาษาซี

Quiz
•
9th - 12th Grade
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
Appointment Passes Review

Quiz
•
6th - 8th 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
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade