Hi I have a question about pointers:
My method is like this:
Does temp == 10 or 0?
Code:
int a = 10; BOOL rc = myMethod (struct_A, &a);
Code:
BOOL myMethod (STRUCT aStruct, int* numElements) { int temp = *numElements; *numElements = 0; ... return true; }
Comment