haidenfirkins89781 haidenfirkins89781
  • 03-09-2019
  • Computers and Technology
contestada

Consider the following C++ program. #include using namespace std; int main() { cout << "Hello World " return 0; } In the cout statement, the missing semicolon in the code above will be caught by the?

Respuesta :

ExieFansler ExieFansler
  • 06-09-2019

Answer:

Compiler.

Explanation:

Actually there are two things missing in the code first is the header file.There is only # include no filename is there like<iostream>,,bits/stdc++.h> etc.cin ,cout will not work until iostream is included in the program.After including the header properly the missing semicolon will be caught by the compiler.The error will be as following:-

expected ';' before return.

Answer Link

Otras preguntas

What anatomical similarities do humans share with apes?
Help!!! I can't figure this one out!!
the diameter of a circle is 12 inches. What is the area of the circle. Use 3.14 for the radius​
A horticulturist is planting flowers in a flower bed. The flower bed is 78 and 14 inches wide, and the plants grouped together measure 43 and 12 inches wide. Ho
A 256 mL sample of HCl gas is in a flask where it exerts a force (pressure) of 67.5 mmHg. What is the pressure of the gas if it were transferred to a 135 mL f
David, a high school senior was wondering if the cost of attending college is worth theexpense. He collected the following data about annual salaries in thousan
The blood pressure, therefore, is the amount of ___________ the blood exerts over the ___________ area of the blood vessel walls.
Solve: 2x + 8x - 1 = 19
Graph, and find the vertex and zeros. 1. y = (x + 3) (x + 1)
SOMEONE HELP ME PLEASEEEEEEEEEEEEE