HIPF
//////////////////////example of special C features #include <stdio.h> void main() { ////////declare as register and assign value int register num1=2; ////////multiple declaration of same type char *inp; int res,a,b,c,d; a=5; b=6; c=0; d=1; ///////multiply by bitshifting num1=num1<<4; printf("%d\n",num1); ///////cast to int printf("%d\n",(int)inp=getch()); ///uset he ? operator instead of if res=(a>b) ? a:b; printf("%d\n",res); ////the AND operator in c printf("test logical AND\n"); /// use for fast testing //// while d and c are the same while (d & c) { d++; } printf("%d\n",d); getch(); }