i have a few c++ questions. i will write down what the question is and my answer. i am just looking to see if i am correct.

int I = 20;
int k = 15;
int j = 5;
j = k; my answer is j = 15
k = j; my answer is k = 5
j = I; my answer is j = 20

double x = 31.2;
double y = 43.2;
double z = 0.0;
x = z; my answer is x = 0.0
y = z; my answer is y = 0.0
x = y; my answer is x = 43.2

int a = 1;
int b = 2;
a = b++; my answer is a = 2 and b++ = 2

a = ++b; my answer is a = 3 and ++b = 3

are these correct?

thanks