1.

Explain various classes of datatypes of C

Answer»

Following are the major classes of data types in C language:

1. Primary data types: Also known as fundamental/basic data types. All C compliers support four basic data types namely: integer(int), character(char), floating(float), and double precision floating point (double). Then there are extended data types such as long int, double int.

2. Derived data types: also known as secondary or user-defined data types. These data types, derived from basic data types, include arrays, pointer, structure, union, enum etc. 



Discussion

No Comment Found

Related InterviewSolutions