Linear search in gcc compiler gives error

while doing linear search in gcc compiler(dev c++)
the last line of code
if(i==n)
there is an error regarding fpermissive
what is this error

Hi Ishita , It would be better if you could share the code on online codingblocks IDE.
-fpermissive basically converts your error into a warning and compile the code .
So , there must be some error in the code.