考虑这两个函数定义:
void foo() { } void foo(void) { }
这两者有什么区别吗?如果没有,为什么void那里的论点?美学原因?
void
c c++ arguments
arguments ×1
c ×1
c++ ×1