| 
                  The C Programming Language
                   An Introduction for Programmers  | 
            
| 
                   
                      
                     Prof. David Bernstein
                       | 
            
| Computer Science Department | 
| bernstdh@jmu.edu | 
               
            
         
            
         
         
            
         // and the end of the line
              is a comment/* and a */
              is a comment
         
            
         char
                     double
                     float
                     int
                     long
                     short
                     
         
            
         long double
              convert the other to  long double
                     double
              convert the other to  double
                     float
              convert the other to  float
                     long
              convert the other to  long
                     
         
            
         +)-)*)/)/)%)++) and Decrement (--)-)
         
            
         >
                     <
                     >=
                     <=
                     ==
                     !=
                     
         
            
         &
                     |
                     ^
                     <<
                     >>
                     ~
                     
         
            
         
         
            
         
         
            
         void pointers can hold any type of pointer*
                     &
                     
         
            
         
         
            
         '\0' character as their last element
         
            
         const Qualifier
         
            
         const qualifier can appear
              once in a declaration (but not after a comma)const Qualifier (cont.)
         
            
         
         
            
         p is a pointer to an element of an array
              then p++ increments p to point to
              the next element
         
            
         const Qualifier and "Strings"
         
            
         
         
            
         return statementvoid Functions:
      void type and no return
              statement or a return statement with no expression
              void then the 
              compiler will check to make sure the actual parameter list 
              is empty
         
            
         
         
            
         
         
            
         .
                     -> 
              is short for (*pointer).member
                     typedef
         
         
            
         
         
            
         u will be large enough to hold 
              the larger of an int and double