Compiler output
prog.cpp: In function ‘int main()’:
prog.cpp:36:43: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[25]’ [-Wformat]
prog.cpp:36:43: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[25]’ [-Wformat]
prog.cpp:64:36: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[25]’ [-Wformat]
prog.cpp:100:29: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[25]’ [-Wformat]