Compiler output
prog.cpp: In function 'void adaug(char*, int, int)':
prog.cpp:17:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:19:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:29:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:11:11: warning: variable 'ok1' set but not used [-Wunused-but-set-variable]
prog.cpp: In function 'int cmp(int, int)':
prog.cpp:35:9: warning: unused variable 'ok' [-Wunused-variable]