What is (void*) casting used for?

前端 未结 4 668
无人共我
无人共我 2021-02-09 12:29

I did try searching for this on Stack Overflow, but I think due to the syntax and not knowing exactly what to search I became a little unstuck.

I have seen (v

4条回答
  •  名媛妹妹
    2021-02-09 12:49

    It's the most generic way of providing a pointer to an object in C/C++. Like object in C# or Java.

提交回复
热议问题