Get the answers you need at Westonci.ca, where our expert community is always ready to help with accurate information. Join our platform to connect with experts ready to provide precise answers to your questions in various areas. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A 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!!