Category: C language


write a program to Add two integers given at command line | Command line Programs in C language

Program :

/********* OUTPUT **************/


C program to SWAP two numbers without using temporary variable | Swapping of two numbers using bit-wise operator with XOR operator | Understanding of XOR operator

/********* PROGRAM **********/ #include<stdio.h>main(){ int a,b; printf(“Enter a,b values : “); scanf(“%d%d”,&a,&b); printf(“Before swapping a = %d t...