/in/foo.c: In function 'Is_Leap':
/in/foo.c:6:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(x%4==0)
^
/in/foo.c: In function 'main':
/in/foo.c:38:60: error: 'year' undeclared (first use in this function)
total+=count(year2,month2)-count(year1,month1)+Is_Leap(year);
^~~~
/in/foo.c:38:60: note: each undeclared identifier is reported only once for each function it appears in
/in/foo.c: In function 'count':
/in/foo.c:29:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^