let's see how we make variables by using Data Types.
data_type variable_name ;
int a ;
Here ( a ) is a variable name which create in memory now we can store any integer type of vale in this variable. Int is a C datatypes it shows only integer types of value will be store in this variable.
Data types is a keyword which define which type of value will be store. Here are some basic Data Types in C :
data types are further divided into Two parts.
- Primary Data Types
- Secondary Data Types
Primary Data Types
Integer
Char
Float
Double
Void
Secondary Data Types
Array
Pointer
structure
Enum
No comments:
Post a Comment