TYPES OF DATA TYPE(L-3)
There are basically 3 types of data types
1.Built in
2.User defined
3.derived
TYPES OF VARIABLES IN DATA TYPES
BUILT IN DATA TYPE :
1.int
2.float
3.char
4.double
5.boolean
USER DEFINED DATA TYPE :
1.struct
2.union
3.enum
DERIVED DATA TYPE :
1.array
2.function
3.pointer
SCOPE OF VARIABLES
Scope of variable means in which places it is valid in programme.
2 types of scope are present in c++
1.local variable --> Are not valid everywhere.
2.global variable --> Are valid all over the programme.
NOTE:
<<endl; -->if you want to break a line.
There are basically 3 types of data types
1.Built in
2.User defined
3.derived
TYPES OF VARIABLES IN DATA TYPES
BUILT IN DATA TYPE :
1.int
2.float
3.char
4.double
5.boolean
USER DEFINED DATA TYPE :
1.struct
2.union
3.enum
DERIVED DATA TYPE :
1.array
2.function
3.pointer
SCOPE OF VARIABLES
Scope of variable means in which places it is valid in programme.
2 types of scope are present in c++
1.local variable --> Are not valid everywhere.
2.global variable --> Are valid all over the programme.
NOTE:
<<endl; -->if you want to break a line.