Computer Science, asked by avikmukherjee247, 9 months ago

2 poin
38. Give the output of the
following program code.
int a=7,p=0,q=0;
p=++ a + -- a;
q- =p
System.out.println(p+ " "+q);​

Answers

Answered by ayasmitamanna146
3

Answer:

15 -15

Explanation:

a=7,p=0,q=0;

p=++a + --a;

// p=8+7=15//

q-=p

//q=-15//

Similar questions