Difference between revisions of "ProvaTeorica 2013.02.14"

From Sistemi Operativi
Jump to navigation Jump to search
(Blanked the page)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<h1> [http://www.cs.unibo.it/~renzo/so/compiti/2013.02.15.tot.pdf Testo Compito]</h1>
 
  
<h2> Esercizio c.2 </h2>
 
<syntaxhighlight lang="C">
 
 
// 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
 
       
 
</syntaxhighlight>
 

Latest revision as of 15:22, 13 May 2014