Author Question: What is the output of the following statement?cout (Read 105 times)

D2AR0N

  • Hero Member
  • *****
  • Posts: 561
What is the output of the following statement?
cout << tolower(toupper('Z')) << endl;
◦ uppercase Z
◦ a compiler error
◦ a lowercase z followed by an uppercase Z
◦ lowercase z
◦ None of these


jasonq

  • Sr. Member
  • ****
  • Posts: 335
lowercase z



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

Never take aspirin without food because it is likely to irritate your stomach. Never give aspirin to children under age 12. Overdoses of aspirin have the potential to cause deafness.

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).

Did you know?

Amphetamine poisoning can cause intravascular coagulation, circulatory collapse, rhabdomyolysis, ischemic colitis, acute psychosis, hyperthermia, respiratory distress syndrome, and pericarditis.

Did you know?

According to the National Institute of Environmental Health Sciences, lung disease is the third leading killer in the United States, responsible for one in seven deaths. It is the leading cause of death among infants under the age of one year.

Did you know?

People who have myopia, or nearsightedness, are not able to see objects at a distance but only up close. It occurs when the cornea is either curved too steeply, the eye is too long, or both. This condition is progressive and worsens with time. More than 100 million people in the United States are nearsighted, but only 20% of those are born with the condition. Diet, eye exercise, drug therapy, and corrective lenses can all help manage nearsightedness.

For a complete list of videos, visit our video library