Stuff
public text v1 · immutable#include <iostream> // as always
using namespace std;
void FName () // Name of function
{
int Gold; // value i want to change
int *p; // pointer
*p = Gold; // Pointer points to Gold
}
int main ()
{
*p = 5000; // i give a value to the pointer, now i get errors undeclared *P <==
cout << *p; // shows value of Pointer P
}