You need to understand pointer syntax. What you want is to declare and define these functions:Originally Posted by Sparrowhawk
You would use them like this:Code:double pop (double stack[], int *stackSize); void push (double stack[], int *stackSize, double x);
Code:push(stack, &stackSize, 9.0); pop(stack, &stackSize);