2. And also Better to use the else block after the exit for handling the wrong input .
3. scanf(" %[^\n]", clip); use this for reading full line along with spaces also