training

Code I wrote during training
git clone git://git.bitsmanent.org/training
Log | Files | Refs | README

456.txt (528B)


      1 /* Esercizio 5.4 */
      2 
      3 a) float hypotenuse(float side1, float side2)
      4 b) int smallest(int x, int y, int x)
      5 c) void instructions(void)
      6 d) float intToFloat(int number)
      7 
      8 /* Esercizio 5.5 */
      9 
     10 a) float hypotenuse(float, float);
     11 b) int smallest(int, int, int);
     12 c) void instructions(void);
     13 d) float intToFloat(int);
     14 
     15 /* Esercizio 5.6 */
     16 
     17 a) register int count = 0;
     18 b) static float lastVal;
     19 c) extern int number; /* errato */
     20 c) static int number; /* all'esterno di ogni dichiarazione di funzione. */
     21                       /* corretto */
     22