This is my code. I get 3^2=1
. I have included the math library.
case '^':
printf("The result is %d\n",(num1^num2));
break;
This is my code. I get 3^2=1
. I have included the math library.
case '^':
printf("The result is %d\n",(num1^num2));
break;