Link to the problem is - https://hack.codingblocks.com/contests/c/537/197
Link to my code is - https://ide.codingblocks.com/s/38686
On submission it gives compilation error, my code is working fine in codeblocks ide.
Plz guide
Maximum element of array
Hey Shubham, your code is working fine… there isn’t any compilation error. you can make one recommended change i.e at the time of declaration you can initialise maxima with arr[0] .