C Programming
by Arin Bagul
What we will cover?
Data Type
Variables
What is Data Type in C?
A data type is an entity that specifies, what type of data that a variable can store.
Such as Integer, floating point, character, etc.
There are two types of Data Type
Primitive Data type
Non-Primitive Data type
Enumeration (Optional)
Primitive Data Type
System Pre-defined data type.
Also called, Basic data type.
Examples: int, float, char, long, double.
Size
According to 32-bit Architecture
Non-Primitive Data Type
User-defined data type.
Also called, Derived data type.
Examples: array, structure, pointer union.
Enumeration Data Type
User-defined data type.
It is used to assign integral constants.
We do not considered Enum as Data type in Data Structure.
What is Variable?
Variable is like a container, used to store the entities.
Follow us on
Thanks For Watching
Like, Share & Subscribe if you find this valuable
Feel free to comment your suggestions below
Click on the Icons to Redirect
C Programming Playlist: Click Here