it's a pointer to an int which points to x but I was confused on the use case. I was wondering if anyone here could give a explaination on it? :O for example, why not just cast to an int and then point to x *(int)x or
(int)*x? Would that not work? What's the difference?
x is probably a void pointer. it is being cast to int * before being dereferenced.
Обсуждают сегодня