1.

Explain data types & how many data types supported by C?

Answer»

In C language, DATA types mean an extensive SYSTEM that is used for declaring the functions or variables of different types. The KIND of a variable used will determine how much space it will occupy in the storage and how the stored bit pattern will be interpreted.

Some of basic data types in C are:
  • Int: For representing numbers (INTEGER)
  • Float: For serving numbers with a fraction.
  • Double: For representing double-precision floating point value
  • Char: Represents SINGLE characters
  • Void: Shows particular purpose type without a value


Discussion

No Comment Found