Category: operators

0

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...