Example & Tutorial understanding programming in easy ways.

What is the difference between = and == in C language?

' ==  ', It is the comparison operator which compare two numeric value and return TRUE or FALSE.


Example:

if(2==5)


But,

' = '  is the assignment operator which assign one variable value to another variable.

Example:

a=12;

Read More →