Swapping program in one line

Swapping program in one line


#include
#include

void main() {
    clrscr();
    int a=36,b=20;

    a = (a+b) - (b = (a+b)-b);

    printf("%3d %3d",a,b);
    getch();
}

Comments

Popular posts from this blog

How to create a custom form in wordpress

My new Jquery Plugin name is krDailog