Hi,
I just took a coding test, and one question got me curious about something.
Is there a difference in member functions depending on whether they are defined with a qualified ID? For example:
1 2 3 4 5 6 7 8 9 10 11 12 13
class test
{
public:
int foo()//defined here
{
return 0;
}
int bar();
};
int test::bar()
{
return 0;
}
Is there a difference in foo and bar other than their names?