Explore Westonci.ca, the top Q&A platform where your questions are answered by professionals and enthusiasts alike. Connect with a community of professionals ready to help you find accurate solutions to your questions quickly and efficiently. Connect with a community of professionals ready to provide precise solutions to your questions quickly and accurately.

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!!