Which of the following data type will throw an error on modulus operation(%)?

C_Basic_MCQ_2

Quiz
•
Information Technology (IT)
•
University
•
Hard
Dinesh Kushwaha
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
char
short
int
float
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following C code?
15
16
15.6
10
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following C code?
Syntax error
1
10
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the final value of x in the following C code?
3.75
Depends on compiler
24
3
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following C code?
Value of x is 1
Value of x is 2
Value of x is 3
Compile time error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of logical or relational expression in C?
True or False
0 or 1
0 if an expression is false and any positive number if an expression is true
None of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an int data type?
4 Bytes
8 Bytes
Depends on the system/compiler
Cannot be determined
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the logical expression (1 && 0)?
0
1
ture
false
Similar Resources on Quizizz
11 questions
TCP/IP | HTTP

Quiz
•
University
12 questions
PYTHON APTITUDE

Quiz
•
University
12 questions
Python Programming Competition

Quiz
•
University
9 questions
Condition Programming Quiz

Quiz
•
1st Grade - University
10 questions
Operating System(2)

Quiz
•
10th Grade - University
10 questions
QUIZ PENGEMBANGAN WEB DENGAN AI

Quiz
•
9th Grade - University
10 questions
QUIZ 7 PENGENALAN PEMROGRAMAN

Quiz
•
University
8 questions
MIS-RODOCODO

Quiz
•
1st Grade - University
Popular Resources on Quizizz
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