==  Relational Operators in C, Checks if the values of two operands are equal or not. If yes, then the condition becomes true othewise false.

C Programming Language / Operators and Enums in C Language

1586

Program:

#include"stdio.h"
void main()
{
   int a = 21;
   int b = 10;
   int c ;

   if( a == b ) {
      printf("a is equal to b \n" );
   }
   else {
      printf("a is not equal to b \n" );
   }
}

Output:

a is not equal to b
Press any key to continue . . .

This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.