1.

What is the output of this program?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); } }

A. 20 0 20 1
B. 10 0 10 1
C. 10 0 0 10
D. 20 0 0 20
E. 10 10 0 1
Answer» C. 10 0 0 10


Discussion

No Comment Found

Related MCQs