#include <stdio.h> int f(int a) { a>20?return(10):return(20); } int main() { int f(int); int b; b=f(20); return 0; }
Standard input is empty
prog.c: In function ‘f’: prog.c:4:7: error: expected expression before ‘return’ a>20?return(10):return(20); ^~~~~~ prog.c:5:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Standard output is empty