If statement
#include <stdafx.h>  
#include <iostream>
using namespace std; 
/* If the test expression is true,the if statement block will be executed otherwise it is skipped. */
int main() 
{  
  int a = 5;
  if (a == 5) {
    cout<< "Inside if";
  }
  
  return 0;  
}Output:
Inside if