以下两个声明之间有什么区别:
1. int foo(int); 2. int foo(int());
我不确定这两个声明是否相同.有什么(2)不同(1)?
(2)
(1)
c c++ declaration function
c ×1
c++ ×1
declaration ×1
function ×1