fork download
  1. #include <stdio.h>
  2.  
  3. void base4(int a) {
  4. if (a>0) {
  5. base4(a / 4);
  6. printf("%d",a % 4);
  7. }
  8. }
  9. int main () {
  10. int b;
  11. b=base4 (47);
  12. printf ("%d", b);
  13. return 0;
  14. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:11: error: void value not ignored as it ought to be
stdout
Standard output is empty