Which type of value we want to store in a variable, can be decided by data type such as integer, character, float, etc.

Data types

Primitive Data type as Basic Data type in C :

integer(int)charater(char)floating(float)void
  • Derived Data types :
Structure typesPointer typesArray typesUnion typesFunction types
  • User define Data type in c :
StructureUnionEnumeration
  • Integer Types :
Data TypeMaximumMinimumBytes
Short32767-327682
Int32767-327682
long2147483647-21474836484
unsigned int6553502
char127-1281
unsigned char25501
Float3.4E+383.4E-384
double1.7E+3081.7E-3088
This article is written by our awesome writer
Comments to: Data Types In C Programming Language

Your email address will not be published. Required fields are marked *

Attach images - Only PNG, JPG, JPEG and GIF are supported.

New Dark Mode Is Here

Sign In to access the new Dark Mode reading option.

Explore Tutorials By Categories

Login

Welcome to Codeverb

Ready to learn something new?
Join Codeverb!

Read Smart, Save Time
  •  
    Strength indicator
  •  
  •  
    Log In | Lost Password