All pastes #234462 Raw Edit

Mine

public cpp v1 · immutable
·published 2006-11-02 16:02 UTC
rendered paste body
#include <iostream> // as alwaysusing namespace std;void FName (int *Gold) // Name of function{     int PlayerGold=200;     *Gold = PlayerGold; // Pointer points to Gold     cout <<"Pointer Gold "<< *Gold << "PlayerGold "<< PlayerGold       }int main () {    int *p = 5000;  // i give a value to the pointer, now i get errors undeclared *P <==    cout << *p;  // shows value of Pointer P}