Biyernes, Marso 15, 2013

3.4 Constant




3.4 Constant
            Definition
             
            Constants are defined for values which will not change throughout the entire program.
            Format:
             
            #define <constant identifier> <literal>  
              
             Example.
              
            #define SCHOOL
            “De La Salle University”
            #define PI
            3.1416
            #define MID_INIT
            ‘T’
            #define MAX_STUD 45

Walang komento:

Mag-post ng isang Komento