Looking for trustworthy answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Explore in-depth answers to your questions from a knowledgeable community of experts across different fields. Get quick and reliable solutions to your questions from a community of experienced experts on our platform.

what are the basic data types supported in C programing language?

Sagot :

Answer:

The C language provides the four basic arithmetic type specifiers char, int, float and double, and the modifiers signed, unsigned, short, and long.

C Primary Data types:

The C language has 5 basic (primary or primitive) data types, they are:

  • Character - ASCII character set or generally a single alphabet like 'a', 'B', etc.
  • Integer - Used to store whole numbers like 1, 2, 100, 1000, etc.
  • Floating-point - Decimal point or real numbers values like 99.9, 10.5, etc.
  • Double - Very large numeric values which are not allowed in Integer or Floating point type.
  • Void - This means no value. This data type is mostly used when we define function.

Hope Helps!!