You have
int x, a, b, sum, diff, product, divison;
and then you use sum, diff, product, and divison without giving those variables a value;
It is undefined behaviour to use variables that you haven't given a value. I would change that line to:
int x, a, b, sum = 1, diff = 2, product = 3, divison = 4;
Then when the program asks for the operator you can use 1, 2, 3 or 4 for the operator to get sum, difference, multiplication or division.
You could always change the program like this:
int a, b;
char x, sum = '+', diff = '-', product = '*', divison = '/';
And then when the program asks for the operator you can use +, -, * or / for the operator to get sum, difference, multiplication or division. You will have to change the variables used to store the answer to something that isn't a char so instead of storing it in the sum, diff, product and division variables you could store it in a variable called 'answer'.
Keep in mind that the way you are doing division is integer division. You need to make the answer variable a double and do the division by casting a or b to a double before doing the division