prog.c: In function ‘main’:
prog.c:12:7: warning: implicit declaration of function ‘carry’ [-Wimplicit-function-declaration]
g = carry(x, y);
^~~~~
prog.c: In function ‘carry’:
prog.c:37:15: error: ‘carrybrkt’ undeclared (first use in this function)
e = b + d + carrybrkt;
^~~~~~~~~
prog.c:37:15: note: each undeclared identifier is reported only once for each function it appears in
prog.c:24:6: warning: variable ‘carrynext’ set but not used [-Wunused-but-set-variable]
int carrynext = 0;
^~~~~~~~~