foo.c: In function 'DecimalToBinary':
foo.c:14:9: warning: statement with no effect [-Wunused-value]
14 | i*10;
| ~^~~
foo.c: In function 'main':
foo.c:24:13: warning: missing terminating " character
24 | printf("%d,num);
| ^
foo.c:24:13: error: missing terminating " character
24 | printf("%d,num);
| ^~~~~~~~~
foo.c:25:6: error: expected expression before 'return'
25 | return 0;
| ^~~~~~
foo.c:25:15: error: expected ';' before '}' token
25 | return 0;
| ^
| ;
26 | }
| ~
foo.c:22:10: warning: variable 'num' set but not used [-Wunused-but-set-variable]
22 | int num;
| ^~~
[Hydro](https://hydro.ac)提供评测服务