Computer Science, asked by krisharora28, 9 months ago

: What is the Output of the following? class output { public static void main(String args[]) { int p = 9; System.out.println(++p * 4 + " "+p); } }​

Answers

Answered by itssudhanshukumar
0

Answer:

Your answer is :40 10

Explanation:

Given :

p=9

++p=10

so,

   (++p * 4 + " "+p)=(10*4+" "+10)=40 10

Similar questions