ProvaTeorica 2013.02.14

From Sistemi Operativi
Revision as of 16:14, 9 May 2014 by Stanislao (talk | contribs)
Jump to navigation Jump to search

Testo Compito

Esercizio c.2

// foo(x,y) <x=2+y , y=2+x>

int g = 0;

csenter:

          do
               int l;
               foo(l, g);
          while(l!=2)

csexit:

g = 0;

// funziona anche in caso di overflow