#include <stdio.h>
 
int main(void) {
    volatile unsigned int temp = 10;
 
    // this is valid C syntax.
    if( 10 == temp )
    {
        temp = 30;
    }

    // this will generate error.
    if( 10 = temp )
    {
        temp = 40;
    }
 
    printf("value of temp : %d \n", temp );
}
 