Arrays-Linear-Search

https://hack.codingblocks.com/contests/c/474/199
https://ide.codingblocks.com/#/s/24032

Question says to print -1 in case element is not found.
Here is the correct solution:
https://ide.codingblocks.com/#/s/24258