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

What is generation of computer ?​
When the flower girl notices the notetaker she says, “They’ll take away my character and drive me on the streets for speaking to gentlemen.” Why can’t she speak
F(x)=2x+1 and g(x)=x2-7, find (f+g)(x)
Determine whether the vector field is conservative. If it is, find a potential function for the vector field.
IF Antirhodos disappeared 1600 years ago how did Franck goddio know antirhodos existed?​
solve it please. Just wanted to check my drawing skill but please solve it​
Briefly describe Ka. How does Ka relate to acid strength? Describe how you can use the pH of an aqueous acid solution and its initial concentration to determine
fill in the blanks with correct tensesthis book _______ many poems (have)​
how to get rid of a headache​
How have people been lately good? bad? something else?