Delicious Digg Facebook Favorites More Stumbleupon Twitter

Tuesday 21 August 2012

Data types


                               DATA TYPE

       Data type is address or reference of the variable.
         Syntax:- datatype variable = value;

          Data type           System code   Memory        Range   

          int                        %d                 2bits         -32,767 to +32,768

         char                      %c                  1bit         -126 to +127  

         float                     %f                   4bits   3.4e-1.7 to 3.4e+1.7
       
         double                 %l                    8bits  3.4e-107 to3.4e+107    
           

0 comments:

Post a Comment