#include // as always using 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 }