✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Given the following definitions:
int i = 5, j = 10, *p = &i, *q = &j;determine whether each of the following assignment statements is legal [because the statement doesn't cause a compile-time error] or illegal [because the statement causes a compile-time error].