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

Capo

  • Hero Member
  • *****
  • Posts: 545
What will the following code display?
int number = 6;
cout << ++number << endl;

6
5
7
0


Brummell1998

  • Sr. Member
  • ****
  • Posts: 324

Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question

Capo

  • Hero Member
  • *****
  • Posts: 545
Excellent



Brummell1998

  • Sr. Member
  • ****
  • Posts: 324
Great! Please up vote :D



 

Did you know?

A seasonal flu vaccine is the best way to reduce the chances you will get seasonal influenza and spread it to others.

Did you know?

Chronic marijuana use can damage the white blood cells and reduce the immune system's ability to respond to disease by as much as 40%. Without a strong immune system, the body is vulnerable to all kinds of degenerative and infectious diseases.

Did you know?

Human stomach acid is strong enough to dissolve small pieces of metal such as razor blades or staples.

Did you know?

Excessive alcohol use costs the country approximately $235 billion every year.

Did you know?

The horizontal fraction bar was introduced by the Arabs.

For a complete list of videos, visit our video library