What is the output of the following programs:
)struct myPixel{int C, R;};void Display(myPixel P){cout < "col="">< p.c="">< "="" row="" "="">< p.r=""><>}
int main(){myPixel X = {50,60}, Y, Z;Z = X;X.C += 11;Y = Z;Y.C += 11;Y.R += 21;Z.C -= 16;Display(X);Display(Y);Display(Z);return 0;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here