Home » JAVA Programming » Basic Operators » Question
  1. What is the value stored in p in following lines of code?

    int p, q, r;
    p = 0;
    q = 1;
    p = q = r = 8;
    1. 9
    2. 8
    3. 7
    4. 6
    5. 5
Correct Option: B

Answer : 8



Your comments will be displayed only after manual approval.