KPIT Technologies interview question

c c++ basic programs, mini project