SyntaxFix
Write A Post
Hire A Developer
Questions
To get the value of a pointer, just de-reference the pointer.
int *ptr; int value; *ptr = 9; value = *ptr;
value is now 9.
I suggest you read more about pointers, this is their base functionality.