
The C Declarations
1. What are the different data types?
Ans: C data type is classified as follows:
1. Basic data type: Basic data types are (a) integer (int), (b) character (char), (c) floating point
(float) and (d) double floating point (double).
2. Derived data type: Derived data types are pointers, functions and arrays.
3. User-defined type: User-defined data types are struct, union, enum and typedef.
4. The void data type: It is an empty data set. This data type can be followed from the chapter on
Functions.
2. What are the differences between signed and unsigned data types?
Ans: When a variable is declared as unsigned, the negative range ...