difference between int* i and int *i

前端 未结 8 965
有刺的猬
有刺的猬 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."

    0 讨论(0)
  • 2020-12-01 08:24

    int* i and int *i are completely equivalent

    0 讨论(0)
提交回复
热议问题