Other than shifting bits to the left, what is the << oprator used for ?

Advertisement

  • shifting characters to the left in a string.
  • inserting characters into an output stream like std::cout.
  • comparing floating point numbers as less-than.
  • assigning a variable to a reference.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend