Computer Science, asked by janhavidubeu, 3 months ago

int p=100,q=++p;
int s=(p >=p++)? (p++):(q--)
find the output with method​

Answers

Answered by Answerer2908
1

Answer:

This expression uses ternary operators.

Explanation:

given p=100 q=100+1=101

s= if(100>=100) then(100). else(101)

Output would be p++=100;

If satisfied mark it as brainliest

Similar questions