WD interview question

Basic input output of strings.