JYoungman
asked on
Just-for-fun II
int plainc(void)
{
switch (2 //**/ 2
) {
case 2: return 0; /* actually C++ */
default: return 1; /* plain C */
}
}
Has anybody got another function which is valid in both languages that does the same job?
{
switch (2 //**/ 2
) {
case 2: return 0; /* actually C++ */
default: return 1; /* plain C */
}
}
Has anybody got another function which is valid in both languages that does the same job?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Did I? It's hard to tell with 0 points ;-)