pointers - invalid type argument of unary ‘*’ (have ‘int