在VS2017上编译有间接级别不同, 形参和实参 1 的类型不同的警告,没有错误。
运行后没有输出
正常应该输出
the member number is 0
the member number is 1
the member number is 2
the member number is 3
the member number is 4
the member number is 5
the member number is 6
the member number is 7
the member number is 8
the member number is 9