Compiler output
prog.cpp: In function 'int main()':
prog.cpp:35:87: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat]
prog.cpp:35:87: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat]
prog.cpp:41:87: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat]
prog.cpp:41:87: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat]
prog.cpp:50:91: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'int' [-Wformat]
prog.cpp:50:91: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'int' [-Wformat]