C Tutorial/Operator/Assignment Operator
Версия от 14:21, 25 мая 2010; (обсуждение)
Assignment operator
Assigning the value of an expression to a variable.
var = expression.
The assignment operator is "="
The statement is in the format: Var = expression;
#include <stdio.h>
main(){
int i,j,k;
i = 6;
j = 8;
k = i + j;
printf("sum of two numbers is %d \n",k);
}
sum of two numbers is 14