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...

  1. Character       char
  2. Integer         int 
  3. Float           float   (Store 6 digits after decimal points )
  4. Double         double   (Store 16 digits after decimal points )
  5. 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

Popular posts from this blog

Run Commands Either Works in the Windows XP or Windows 7 or Both Operating Systems