c++ syntax definition code example
Example 1: syntax c++
#include<iostream>
using namespace std;
int main()
{
system("pause"); //To pause the screen
return 0; //Not neccessary
}
Example 2: C++ Syntax
#include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}