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

Where was the final battle of the american revolutionary war?.
Javier goes to a football game. He pays $5 for a student ticket and $2 per item bought at the concession stand. Is the total cost to attend the football game a
is this regular or irregular
Predict the energy transformation that occurs when carson sands a piece of wood with sandpaper.
How many solutions can be found for the equation 4x 5 = 10? Zero One Two Infinitely Many.
Denmark’s baby naming issue reveals values that the society decided were important enough to enforce through laws. Explain why Denmark feels this is important.
explain how matter cycles through non living and living things in a aquaponics system. Give at least one example.
what is the area of a square and a right triangle combined?
What did the emperor do when he thought that confucian scholars were opposing his views?.
Helppppp ur girl out