What is basic if statement syntax?

Submitted by: Muhammad
The structure of an if statement is as follows:
if ( TRUE )
Execute the next statement

Here is a simple example that shows the syntax:
if ( 5 < 10 )
cout<<"Five is now less than ten, that's a big surprise";
Submitted by: Muhammad

Read Online C++ Syntax Job Interview Questions And Answers