00001 
00002 
00003 
00004 
00005 void
00006 foo_void_function(int        one,       
00007                   float      *two,      
00008                   const char *three)    
00009 {
00010   if (one)
00011   {
00012     puts("Hello, World!");
00013   }
00014   else
00015     puts(three);
00016 
00017   *two = 2.0f;
00018 }
00019 
00020 
00021 
00022 
00023 
00024 
00025 float                                   
00026 foo_float_function(int        one,      
00027                    const char *two)     
00028 {
00029   if (one)
00030   {
00031     puts("Hello, World!");
00032   }
00033   else
00034     puts(two);
00035 
00036   return (2.0f);
00037 }
00038 
00039 
00040 
00041 
00042 
00043 
00044 int                                     
00045 foo_default_string(int one,             
00046                    const char *two = "2")
00047                                         
00048 {
00049   if (one)
00050   {
00051     puts("Hello, World!");
00052   }
00053   else
00054     puts(two);
00055 
00056   return (2);
00057 }
00058 
00059 
00060 
00061 
00062 
00063 
00064 int                                     
00065 foo_default_int(int one,                
00066                 int two = 2)            
00067 {
00068   if (one)
00069   {
00070     puts("Hello, World!");
00071   }
00072   else
00073     puts(two);
00074 
00075   return (2);
00076 }