c programming question and answer - Search