Hai can any one explain this program to me in the clear way . I am not able to understand this code clearley so i am asking to you . Thanks in advance
Code:#include <stdio.h> unsigned char swap_nibbles(unsigned char c) { unsigned char temp1 , temp2; temp1 = c & 0 x0F; temp2 = c & 0 xF0; temp1 =temp1 << 4; temp2 =temp2 >> 4; return(temp2 |temp1); //adding the bits } int main(void) { char ch=0 x34; printf("\nThe exchanged value is %x",swap_nibbles(ch)); return 0; }