What is the output of the following programs:
int func(int &x, int y = 10){if (x % y == 0)return ++x;elsereturn y--;}int main(){int p = 30, q = 33;q = func(p, q);cout < p="">< "="" "="">< "="" "="">< q=""><>p = func (q);cout < p="">< "="" "="">< "="" "="">< q=""><>q = func (p);cout < p="">< "="" "="">< "="" "="">< q=""><>return 0;}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here