Author Question: What will the following code display?int number = 23;cout (Read 85 times)

mckennatimberlake

  • Hero Member
  • *****
  • Posts: 559
What will the following code display?
int number = 23;
cout << "The number is " << "number" << endl;

The number is number
The number is23
The number is
The number is null
The number is 23


k.lashomb

  • Sr. Member
  • ****
  • Posts: 346
The number is number



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

The most common treatment options for addiction include psychotherapy, support groups, and individual counseling.

Did you know?

There are 60,000 miles of blood vessels in every adult human.

Did you know?

It is difficult to obtain enough calcium without consuming milk or other dairy foods.

Did you know?

About 60% of newborn infants in the United States are jaundiced; that is, they look yellow. Kernicterus is a form of brain damage caused by excessive jaundice. When babies begin to be affected by excessive jaundice and begin to have brain damage, they become excessively lethargic.

Did you know?

During the twentieth century, a variant of the metric system was used in Russia and France in which the base unit of mass was the tonne. Instead of kilograms, this system used millitonnes (mt).

For a complete list of videos, visit our video library