281 B
281 B
Structure of a Program
Every C++ program must have a function named main (all lower case letters). When the program is run, the statements inside of main are executed in sequential order.
#include <iostream>
int main()
{
std::cout << "Hello World!";
return 0;
}