difference between int* i and int *i

前端 未结 8 1056
有刺的猬
有刺的猬 2020-12-01 07:31

I\'m converting a header file for a DLL written in C to Delphi so I can use the DLL.

My question is what is the difference between

int* i

8条回答
  •  隐瞒了意图╮
    2020-12-01 08:17

    There is no difference. You could type it as int * i if you wanted; they all mean the same thing: "i is a pointer to an int."

提交回复
热议问题