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

Java Mysql Database Connectivity without download mysql connector file [use netbeans] - krButani