#include // as always using namespace std; void FName (int *Gold) // Name of function { *Gold = Gold; // Pointer points to Gold } 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 }