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

evaluate and simplify 2/3a - 1/8b + 1/6a​
2.1.2 Make use of the distance formula to determine the length of PQ​
convex or concave polygon?
2. If a costing Rs. 45,000 is sold at a discount of 20%. Write the formula to find discount percent. Discount MP (b) Find the discount [1] [Ans: Rs. 9,000.(c) I
Jason solved the following equation to find the value for x. -8.5x - 3.5x = —78 x = 6.5 Describe how Jason can check his answer.
Answers for question 65 and 66
Consider: 2
Área de este poligano por favor
The ray that falls on the surface of a mirror from the object is called _________ ray. (Incident/reflected)
Points A, B, and C are collinear with coordinates A(-2,5), B(1,3), and C (x,-13). What is x?