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

Joe says that the product of a 4 digit number and a 1 digit number is always a 4 digit number does Joe's statement makes sense?
A line contains (82,-96) and (87,-86) what is the slope of the line in simplified form
What state shares with Oregon nevada and Arizona
The drawing shows three particles far away from any other objects and located on a straight line. The masses of these particles are mA = 340 kg, mB = 567 kg, an
Which of the following is usually the first step in solving a system of nonlinear equations by substitution
which Texas region contains the largest desert area? a. great plainsb. costal plainsc. mountains and basinsd. north central plainsPLZ HELP ASAP
Please help with the question
Is Trazillion a number
please, help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! which of the following statements most accurately describes current population trends in Russia? A. The popul
List the angles from smallest to greatest