
Program to show different Assignment Operators In C Programming Language
Assignment operators
/* Program to show different assignment operator */ #include<stdio.h> #include<conio.h> int main() { clrscr(); int a=10; // a+=10; // compound assignment a=a+10 //a-=5; a*=2; //a/=3; //a%=3; //a&=10; //a= a & 10 //a^=10; //a=a^10; printf(" the value of a is :%d",a); getch(); return 0; }![]()