thumbnail

C data types

Do you know all the basic types of the C programming language?
The last three are not officially defined, so hint follows most systems' (IEEE 754) implementation.
Quiz by Byterapper
Rate:
Last updated: July 27, 2022
You have not attempted this quiz yet.
First submittedJuly 27, 2022
Times taken2
Average score76.7%
Report this quizReport
4:00
Enter answer here
0
 / 30 guessed
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
0 / 255
8 bits
char
8 bits
unsigned char
 
 
-128 / 127
8 bits
signed char
 
 
-32.768 / 32.767
16 bits
short
16 bits
short int
16 bits
signed short
16 bits
signed short int
 
 
0 / 65.535
16 bits
unsigned short
16 bits
unsigned short int
16 bits
unsigned
16 bits
unsigned int
-32.767 / 32.767
16 bits
int
16 bits
signed
16 bits
signed int
 
 
-2.147.483.64 / 2.147.483.64
32
bits
long
32 bits
long int
32 bits
signed long
32 bits
signed long int
 
 
0 / 4.294.967.295
32 bits
unsigned long
32 bits
unsigned long int
 
 
−9,223,372,036,854,775,807 / 9,223,372,036,854,775,807
64 bits
long long
64 bits
long long int
64 bits
signed long long
64 bits
signed long long int
0 / 18,446,744,073,709,551,615
64 bits
unsigned long long
64 bits
unsigned long long int
 
 
~ -3.4028E+38 / 3.4028E+38
32 bits*
float
 
 
~ -1.7977E+308 / 1.7977E+308
64 bits*
double
 
 
~ -1.1897E+4932 / 1.1897E+4932
128 bits*
long double
 
 
0 / 1
8 bits*
bool
No comments yet