type question

I have a function:

foo(Window * window, int * x, int *y)

x and y are pointer types

The function works when I:

int a,b = 0;

call foo(window, &a, &b)

This is a type confusion on my part:

are &a, &b pointer types? The function definition ...





Yes they are. you make them pointers by using the &
Topic archived. No new replies allowed.