All pastes #346247 Raw Edit

Anonymous

public cpp v1 · immutable
·published 2007-02-09 05:45 UTC
rendered paste body
//here is our variable!int x;//*********************//here is our pointer that we will use to point to xint *pointer;//**************************************************//now pointer will equal xpointer = &x;*pointer = 25; // now since *pointer equals 25 the variable x equals 25//after we are done we will dispose of the pointer!delete *pointer;