ProvaTeorica 2013.02.14

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

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;