C_test1

C_test1

University

15 Qs

quiz-placeholder

Similar activities

QUIZ 3

QUIZ 3

University

10 Qs

JAVA operators

JAVA operators

University

10 Qs

C++ operator overloading

C++ operator overloading

University

10 Qs

Selection-Multiple

Selection-Multiple

12th Grade - University

20 Qs

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

Topic2: If method

Topic2: If method

University

10 Qs

PHP STRING AND OPERATORS

PHP STRING AND OPERATORS

University

15 Qs

C_test1

C_test1

Assessment

Quiz

Computers

University

Medium

Created by

Anjali Luthra

Used 2+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator has the lowest priority?

++

%

+

||

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int main()

{

int a = 25%10;

printf("%d", a);


return 0;

}

5

2

2.5

5.5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The modulus operator (%) can be used only with integers.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

!= is the example of ____________________ operator.

Relational

Logical

Assignment

Conditional

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>


void main()

{


int x = 5 * 9 / 3 + 9;


}

24

3

23

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The meaning of the operator ______ is modulus in C language.

a. ++

b. mod

c. %

d. *

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?