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

How do Henry's writings connect with the later causes of the Revolutionary War?
this part of the bill of rights was intended to
name the 8 planet in this universe
i need a prompt asap!!!!!!! will give brainliest!!!!! In this assignment, you will create your own propaganda poster. Your poster should contain images and symb
Which of the following describes how the natural resources found in North America Countries affect their economies?
Does Central America have a Native American and a European and an African culture?
What are some religious disagreements? Happening in the world right now all I Want is a link and i'll give brainlest.
cause and effect with the Sumerians
First right one I will give you brainliest thanks Help is greatly appreciated!!!
What is the slope of a line that passes through the points (2, 0) and (5, 0)? Explain.