!! used as default html header if there is none in the selected theme. Portée des variables

Portée des variables

On exécute le programme suivant :
(cliquer en bas sur l'aide pour comprendre la syntaxe)

int affine (int v) {   v = ;   return(v) ; }

int t = 9 ;
t = affine(t) ;

Quand le programme a fini de s'exécuter,

la variable t a pour valeur finale : 

Enter your reply:


Do you confirm?

Exercice not entirely completed. Are you sure you want to submit?
The most recent version

This page is not in its usual appearance because WIMS is unable to recognize your web browser.
In order to access WIMS services, you need a browser supporting forms. In order to test the browser you are using, please type the word wims here: and press ``Enter''.

Please take note that WIMS pages are interactively generated; they are not ordinary HTML files. They must be used interactively ONLINE. It is useless for you to gather them through a robot program.