G
Gibby Koldenhof
Hiya,
Quick question:
/* test.c, compile with gcc -ansi -pedantic -Wall test.c -o test */
int foo(int a, int b, int c, int d) { return 0; }
int bar(int a, int b, int c, int d) { return 1; }
int main(void)
{
int a = 1;
a = (a ? foo : bar)(0, 1, 2, 3);
return a;
}
Looks conforming to me [the (a ? foo : bar)] ... right?
Cheers,
Gibby Koldenhof
Quick question:
/* test.c, compile with gcc -ansi -pedantic -Wall test.c -o test */
int foo(int a, int b, int c, int d) { return 0; }
int bar(int a, int b, int c, int d) { return 1; }
int main(void)
{
int a = 1;
a = (a ? foo : bar)(0, 1, 2, 3);
return a;
}
Looks conforming to me [the (a ? foo : bar)] ... right?
Cheers,
Gibby Koldenhof