C-DOT interview question

Question based on string Basics of web development