Explain a c++ program
Answers
Answered by
0
Explanation:
A C++ program is structured in a specific and particular manner. In C++, a program is divided into the following three sections:
Standard Libraries Section
Main Function Section
Function Body Section
For example, let’s look at the implementation of the Hello World program:
1#include <iostream>
2
using namespace std;
3
4
int main() {
5cout << "Hello World!" << endl;6 return 0;7}.
Similar questions