prog.c: In function ‘main’:
prog.c:5:1: warning: parameter names (without types) in function declaration
float crossroad(float1,float2);
^~~~~
prog.c:8:14: error: ‘chicken’ undeclared (first use in this function)
int float1 = chicken
^~~~~~~
prog.c:8:14: note: each undeclared identifier is reported only once for each function it appears in
prog.c:9:1: error: expected ‘,’ or ‘;’ before ‘int’
int float2 = 6
^~~
prog.c:8:5: warning: unused variable ‘float1’ [-Wunused-variable]
int float1 = chicken
^~~~~~
prog.c: At top level:
prog.c:16:24: error: expected ‘)’ before ‘float’
void crossroad(float1, float 2);{
^~~~~
prog.c:16:33: error: expected identifier or ‘(’ before ‘{’ token
void crossroad(float1, float 2);{
^