codeGK
Code it ALL
C++ Syntax - CodeGK
♦ C++ Syntax

♣ About C++ Syntax

Syntax means a basic way of arrangement(skeleton) of code which is essential for the code to parse and run.
Without a proper syntax for the language, the compiler will throw syntax error.

♣ Example1: C++ Syntax

In this example, a valid syntax is represented.
Where every thing is just write for compiler to parse.
Example
Input:
Output:

♣ Example2: C++ Syntax Error

In this example, an invalid syntax is represented.
Here a semi-colon is missing in front of "Hello World" which will raise an error.
Example
Input:
Output:
Prev_LessonNext_Lesson
C++ Syntax