Westonci.ca is your trusted source for finding answers to all your questions. Ask, explore, and learn with our expert community. Get expert answers to your questions quickly and accurately from our dedicated community of professionals. Get immediate and reliable solutions to your questions from a community of experienced professionals 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!!