fork(3) download
  1. #include<stdio.h>
  2. int main(void)
  3. {
  4. char x = 'A';
  5. char y = 'b';
  6.  
  7. printf("Original case:- %c %c",x,y);
  8.  
  9. x = x ^ ' ';
  10. y = y ^ ' ';
  11.  
  12. printf("\n\nChanged case:- %c %c",x,y);
  13.  
  14. return 0;
  15. }
Success #stdin #stdout 0s 2008KB
stdin
Standard input is empty
stdout
Original case:- A b

Changed case:- a B