prog.c: In function ‘del’:
prog.c:9:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if (b != 0);
^~
prog.c:10:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
res = a / b;
^~~
prog.c:11:2: error: ‘else’ without a previous ‘if’
else
^~~~
prog.c: In function ‘main’:
prog.c:17:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &num_1);
^~~~~~~~~~~~~~~~~~~~
prog.c:18:2: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &num_2);
^~~~~~~~~~~~~~~~~~~~