06.01.2015 Views

IMPARARE IL C++ in 6 ore? - INFN

IMPARARE IL C++ in 6 ore? - INFN

IMPARARE IL C++ in 6 ore? - INFN

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Puntatori<br />

Una variabile e’ allocata <strong>in</strong> un unica locazione di memoria nota come il<br />

suo <strong>in</strong>dirizzo che viene assegnato dal compilat<strong>ore</strong><br />

una volta dichiarata la variabile.<br />

Per conoscere l’<strong>in</strong>dirizzo di una variabile basta che usi l’operat<strong>ore</strong> di <strong>in</strong>dirizzo &<br />

:<br />

<strong>in</strong>t var =10;<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!