对于下面给出的多组函数声明,哪组在语义上是完全等价的: 1)int f( ); 和 const int f( ); 2)int& f( ); 和 const int& f( ); 3)int* f( ); 和 const int* f( ); 4)int* f( ); 和 int* const f( );
选项:
A:1
B:1和2
C:1和3
D:1和4
发布时间:2024-06-06 14:34:23