Job 20729

Owner
Jula Marius
Problem
nc1c2
Source
0.61KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.c: In function 'main':
prog.c:35:37: error: expected ')' before ';' token
     printf("%d\n",replace(n, c1, c2);
                                     ^
prog.c:36:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
     }while(!(( n == 0) && (c1 == 0) && (c2 == 0)));
     ^
prog.c:36:5: error: expected ';' before '}' token

Questions?

Sponsors Gold