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

Businesses today succeed or fail based on their ability to
Empire has a credit balance of $750 in its allowance for doubtful accounts. the balance in the accounts receivable account is $80,500, with $2,415 estimated to
I need a 8 sentence paragraph on topic drunk driving can be stopped
Select all that apply. Which of the following can function as adjectives? a) infinitive phrase b) gerund phrase c) participial phrase
Cancer causing agents are also called
a boy jogs 250 meters in 110 seconds. what is his average speed.
The most trusted profession, according to a recent poll, is _______.
Which process in service operation contributes to continual service improvement?
A person's position in a country's social stratification is determined by:
A force of 5000 n is applied outwardly to each end of a 5.0-m long rod with a radius of 34.0 mm and a young's modulus of 125 x 108 n/m2. the elongation of the r