Operators in C

Operators in C

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

CSS background, border

CSS background, border

11th Grade

10 Qs

สอบเก็บคะแนน ไพทอน ม.4

สอบเก็บคะแนน ไพทอน ม.4

9th - 12th Grade

10 Qs

Bài 6_Lớp 11_Tại lớp

Bài 6_Lớp 11_Tại lớp

12th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Bai Tap Bai 18 Tin hoc 10

Bai Tap Bai 18 Tin hoc 10

10th Grade

10 Qs

Podsumowanie: binarny, komputer, sieć

Podsumowanie: binarny, komputer, sieć

7th Grade - University

13 Qs

End of term assessment

End of term assessment

9th Grade

15 Qs

Operators in C

Operators in C

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Habeebuddin Khaja

Used 100+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?