prog.c: In function ‘divide’:
prog.c:25:7: error: expected expression before ‘)’ token
if()
^
prog.c:20:22: warning: unused variable ‘number_1’ [-Wunused-variable]
int temp, number=x, number_1=0;
^~~~~~~~
prog.c:20:6: warning: unused variable ‘temp’ [-Wunused-variable]
int temp, number=x, number_1=0;
^~~~
prog.c: In function ‘max’:
prog.c:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
prog.c: In function ‘main’:
prog.c:39:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^~~~~~~~~~~~~~~
prog.c:42:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &m, &n, &x, &y);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~