training

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

infloop.c (187B)


      1 /*
      2  * Esercizio 3.41
      3  * Stampa i multipli di 2 all'infinito
      4 */
      5 
      6 #include <stdio.h>
      7 
      8 int main()
      9 {
     10    int i = 2;
     11 
     12    while(1)
     13       printf("%d\n", i *= 2); 
     14 
     15    return 0;
     16 } /* E0F main */
     17