Home » C++ Programming » Basic Syntax » Question
  1. Choose the correct formatted code.
    1. cout<<“Bye”;
    2. cout << “Bye”
      << “See u later”;
    3. cout << "Bye" << endl << "See u later" ;
    4. All of above
    5. None of these
Correct Option: C

If a long line that is broken into pieces is broken with an operator, the operator should be placed at the end of the line, not the start of the next line.



Your comments will be displayed only after manual approval.