#include #include "header.hpp" using namespace std; int main(){ /* Puntatori */ const int x = 5; const int y = 3; const int* p = &x; //*p = 3; // errore p = &y; //OK const int* const p2 = &x; //*p2 = 3; //errore //p2 = &y; //errore /* Casting */ char c = 'a'; void* p3 = &c; //cout<<*p3; //errore (non conosce il tipo) //cout<<*((char*)p3)<(p3))<