HURITS interview question

Array and string related program