C Programming Lectures...Data Types..
Fundamental to C Programming
Similar to Other Programming Languages, a C Language also use Data Types, Constants, Variables & some Data Types Modifiers to Execute the Programs.
Let's Start with exploring the data types in C.
Data Types-
a data types defines the type of data that is stored in a Variable.Built in Data types in C...
- Character char
- Integer int
- Float float (Store 6 digits after decimal points )
- Double double (Store 16 digits after decimal points )
- Non Specific void (Stores no Value)
Note:
Character Constants written like this........ 'a' 's' '1' '@' etc.
String Constants written like this........ ..."Hellow World"
Valid Integers written like this .............-250 +1500 0 256 etc.
Valid Floating points written like this....... -121.253 2.43130E+04 etc.
Double data types written like this...........156.0000000000000156
Comments
Post a Comment