Author Question: What will the following code display?cout (Read 105 times)

Zulu123

  • Hero Member
  • *****
  • Posts: 525
What will the following code display?
cout << "Roses " << "are red";
cout << "and " << "violets/n"
cout << "are" << "blue" << endl;

Roses are red and violets/nare blue
Roses are red
and violets
are blue

Roses are red and violets/n are blue
Roses are redand violets/nareblue


mirabriestensky

  • Sr. Member
  • ****
  • Posts: 325
Reply #1 on: May 22, 2019
Roses are redand violets/nareblue



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

Multiple experimental evidences have confirmed that at the molecular level, cancer is caused by lesions in cellular DNA.

Did you know?

Pubic lice (crabs) are usually spread through sexual contact. You cannot catch them by using a public toilet.

Did you know?

There are more nerve cells in one human brain than there are stars in the Milky Way.

Did you know?

IgA antibodies protect body surfaces exposed to outside foreign substances. IgG antibodies are found in all body fluids. IgM antibodies are the first type of antibody made in response to an infection. IgE antibody levels are often high in people with allergies. IgD antibodies are found in tissues lining the abdomen and chest.

Did you know?

Bacteria have flourished on the earth for over three billion years. They were the first life forms on the planet.

For a complete list of videos, visit our video library