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:60:24: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:63:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:63:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 3 has type âint*â [-Wformat]
prog.cpp:74:27: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:85:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 2 has type âint*â [-Wformat]
prog.cpp:85:34: warning: format â%ldâ expects argument of type âlong int*â, but argument 3 has type âint*â [-Wformat]