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

Question: One third of a number, decreased by thirty-six is at most twenty-two.
Answer question from picture.
Use the model to find the product. 3 x 3/4=
Because Cinderella ___ in leaving the prince's ball, her carriage and horses turn back into a pumpkin and mice before she reaches home. a. assuages b. festoons
what do you divide 30 by to get 18?
How do you find the area of a pyramid?
What is 1178 divided by what equalls 19
What did Roosevelt's Executive Order 9066 do
what did the europeans bring to the americas that helped native americans with labor, hunting, and farming a. wagons b. cows c. plows d. horses
what is the theory that species evolve quickly over a short period of times