Back To C Basics Index
//program to demonstrate (*=) operator, a*=2 is same as a=a*2 #include
#include
void main() { int a; clrscr(); printf("enter a value for a"); scanf("%d",&a); printf("number you entered is %d",a); a*=2; printf("number after multiplying by 2 is %d",a); getch(); }