Google News
logo
C-Language - Interview Questions
What is Assignment Operators in C ?
In C program values for the variables are assigned using assignment operators. The most common assignment operator is ‘=’ this operator assign (copy) the right side value to the left side variable.

Example :
var =5;  //5 is assigned to var
a=c;   //value of c is assigned to a
5=c;   // Error! 5 is a constant.
Advertisement