B
bingfeng
hello,
anyone else can explain why following codes give wrong result while
compiler accept it still?
int & foo() {}
int main()
{
int x = foo;
std::cout << x << std::endl;
}
thanks!
anyone else can explain why following codes give wrong result while
compiler accept it still?
int & foo() {}
int main()
{
int x = foo;
std::cout << x << std::endl;
}
thanks!