Q. What is the output of this program?
Code:public class Result
{
public static void main(String args[])
{
int p,q,r,s;
p=q=r=s=10;
p+=q-=r*=s/=10;
System.out.println(p+" "+q+" "+r+" "+s);
}
}
β
Correct Answer: (B)
10 0 10 1