Infosys interview question

Write a program for finding a missing no. from a given array