C
centurian
I have compiled following program with g++/gcc 3.3.1 and "MS Visual C++
6" and it ran without any errors. Does this thing make any sense? Is it
of some use or some problem with grammar/CFG of c/c++?
#include <stdio.h>
int func()
{
int x;
return x,x;
}
int main()
{
int a,b;
a,b,a;
printf("%d",func);
return (a,b);
}
Regards,
Rabeeh.
6" and it ran without any errors. Does this thing make any sense? Is it
of some use or some problem with grammar/CFG of c/c++?
#include <stdio.h>
int func()
{
int x;
return x,x;
}
int main()
{
int a,b;
a,b,a;
printf("%d",func);
return (a,b);
}
Regards,
Rabeeh.