Compiler output
prog.cpp: In function 'bool egal(char*, char*)':
prog.cpp:21:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:21:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp: In function 'void put1(char*, int, int)':
prog.cpp:27:10: warning: unused variable 'i' [-Wunused-variable]
prog.cpp: In function 'bool comp(elem, elem)':
prog.cpp:47:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp:47:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
prog.cpp: In function 'int main()':
prog.cpp:59:46: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[30]' [-Wformat]
prog.cpp:59:46: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[30]' [-Wformat]
prog.cpp:54:11: warning: unused variable 'j' [-Wunused-variable]