Quiz on Basic Types and Statements
Test your understanding of basic data types and statements in C
1
Which of the following gives valid sizes of data types in C as observed on some system?
A)
short
: 2 bytes
char
: 8 bytes
B)
float
: 4 bytes
int
: 8 bytes
C)
char
: 1 byte
int
: 4 bytes
D)
double
: 16 bytes
long double
: 32 bytes
Question 1 of 50 attempted
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy