C
C. J. Clegg
Consider this code:
char* s;
char* putSomethingThere( void );
s = putSomethingThere( );
if( s == "abc" )
{
...
}
If I remember correctly, that's correct C++ but incorrect C, even if
putSomethingThere() put "abc" into s, right?
char* s;
char* putSomethingThere( void );
s = putSomethingThere( );
if( s == "abc" )
{
...
}
If I remember correctly, that's correct C++ but incorrect C, even if
putSomethingThere() put "abc" into s, right?