
C Data Types Quiz
Quiz
•
Education
•
University
•
Practice Problem
•
Medium
Dr. Mary
Used 12+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of the integer data type in C?
8 bytes
1 byte
4 bytes
2 bytes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which format specifier is used for the float data type in C?
%lf
%f
%c
%d
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of the character data type in C?
0 to 65535
-32768 to 32767
0 to 255
-128 to 127
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a user-defined data type in C?
struct
char
float
int
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of the double data type in C?
1.2E-38 to 3.4E+38
1.7E-308 to 1.7E+308
0 to 255
-2,147,483,648 to 2,147,483,647
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the void data type represent in C?
A single character
No value
An integer
A floating-point number
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type can store negative values?
unsigned long int
short int
unsigned short int
unsigned int
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
UTAR Industrial Session
Quiz
•
University - Professi...
20 questions
Computación 1ro y 2do básico
Quiz
•
1st Grade - University
15 questions
Labor Relations and Negotations 1
Quiz
•
University - Professi...
10 questions
FIP SESSION 3 Outcome-Based Education
Quiz
•
University
10 questions
Kuis PTK
Quiz
•
University
12 questions
Preparing Our Final Exam
Quiz
•
University
12 questions
Adjectives + prepositions
Quiz
•
12th Grade - University
20 questions
REVISION 4 : TOPIC 9 [ACCOUNTING FOR NON-CURRENT ASSETS]
Quiz
•
1st Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
