I tried compiling the program
void f() { }
void g() { }
int main()
{
if(f() == g()) printf("ok\n");
return 0;
}
and I got the error void value not ignored as it ought to be, so it looks as if the elements of the void type can't be used at all.
|
to: