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

help imma need those answers
how to write a letter to your father introduction​
Rahim and john were two friends. once rahim went to visit the new house of john . to expel hot air out of the kitchen, john fitted an exhaust fan on his kitchen
there are 10 boy and 10 girl in a group, 2 boys are to selected and 2 girl are to selected for the play, how many ways can they selected.
Determine domain of the graph
Which level of government should have control over American policies on drugs? Federal, State level or at the city level. Give me two different reasons why you
solve this questions please​
does anyone know... ​
Please help! Mathematics
26. I____ at the office early because I always get stuck in the traffic jam in the morning. A.mustn't be B. must be C. should't have been D.