Placement of the asterisk in pointer declarations

前端 未结 13 913
闹比i
闹比i 2020-11-22 04:36

I\'ve recently decided that I just have to finally learn C/C++, and there is one thing I do not really understand about pointers or more precisely, their definition.

13条回答
  •  遥遥无期
    2020-11-22 05:17

    In 4, 5 and 6, test is always a pointer and test2 is not a pointer. White space is (almost) never significant in C++.

提交回复
热议问题