Compiler output
prog.cpp: In function âint main()â:
prog.cpp:57:26: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:57:26: warning: format â%ldâ expects argument of type âlong int*â, but argument 3 has type âint*â [-Wformat]
prog.cpp:62:24: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:65:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:65:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 3 has type âint*â [-Wformat]
prog.cpp:76:27: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:87:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:87:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 3 has type âint*â [-Wformat]