
Quiz on Data Types in C

Quiz
•
Computers
•
University
•
Medium
Satheesh D
Used 1+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an 'int' data type in C on a 32-bit GCC compiler?
2 bytes
4 bytes
1 byte
8 bytes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a user-defined data type in C?
int
float
char
struct
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the range of 'unsigned short int' in C?
-32,768 to 32,767
0 to 65,535
-2,147,483,648 to 2,147,483,647
0 to 4,294,967,295
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which format specifier is used for 'double' data type in C?
%f
%lf
%d
%c
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the 'void' data type represent in C?
A character
No value
A floating-point number
A numeric value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of 'long double' in C?
8 bytes
16 bytes
12 bytes
4 bytes
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type in C?
struct
char
float
int
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Coding club Summit Online Quiz

Quiz
•
University
10 questions
C++ Variables, Literals, and Constants Quiz

Quiz
•
University
15 questions
CODE ZENITH

Quiz
•
University
10 questions
1. hét

Quiz
•
University
10 questions
SQL basic

Quiz
•
University
17 questions
Midterm Exam

Quiz
•
University
16 questions
Java Flashcards

Quiz
•
University
10 questions
หน่วยที่ 3 การเขียนโปรแกรมแบบตามลำดับ

Quiz
•
University
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
9/11 Experience and Reflections

Interactive video
•
10th - 12th 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
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University