<span class="greencolor2">Enrol for C Certification</span>
Certifications Boost Confidence. Go through Certifications CENTER
Learn C Data Types and Storage Classes with MCQ Questions and Answers. Find questions on types of Storage Classes like Life, Scope and the default value of variables. Easily attend exams after reading these Multiple Choice Questions.
Go through C Theory Notes on Data Types and Storage Classes before studying questions.
'intern' is not a keyword. Remaining are all valid keywords.
'var' is not a valid keyword.
construct is not a keyword.
All 32 Keywords are given for reference. auto, break, case, char, const, continue, default, do, double, else, enum, extern, float, for, goto, if, int, long, register, return, short, signed, sizeof, static, struct, switch, typedef, union, unsigned, void, volatile, while.
All C Keywords are in lower case.
Size of int < long.
Size of float < double < long double
Real numbers like float, double and long double do not support unsigned representation.
Advantage of an unsigned representation is only to increase the upper limit i.e positive limit. Size of a char remains same i.e 1 Byte.
Default assumption is Turbo C/C++, 16 bit compiler. Size of an int is 2 bytes for both signed and unsigned representation.
Real numbers are represented in float, double and long double format.
eg. float interest = 12.55f;
Size of a long variable is 4 Bytes or 32 bits.
(2)^32.
e represents exponential.
For negative numbers 1 is used as a left most bit.
Yes. Even if you do not specify a Storage class for a Variable, AUTOMATIC storage class is applied.
Open Certification Helper Popup Reset Popup