Computer Science, asked by aaron30, 11 months ago

What will be the output of a and b in the following if int a=10b=a++

Answers

Answered by sameersinha33355
41

Answer:

the output 10,11 is the answer

Answered by abdulraziq1534
5

Concept Introduction:-

In pc science, the overall that means of enter is to offer or provide some thing to the pc, in different words, while a pc or tool is receiving a command or sign from outer sources, the occasion is called enter to the tool.

Given Information:-

We have been given that a=10

To Find:-

We have to find that value of b=a++

Solution:-

According to the problem

The output pf a and b in the following in int a=10\\b=10+1+1\\=12.

Final Answer:-

The correct answer is 12.

#SPJ2

Similar questions