Computer Science, asked by gogoistic, 1 day ago

What will be the output of the following program segment?
int a= 2, b =2
if (a! = 0)
b=0;
else
b * = 10;
Printf("%d", b);​

Answers

Answered by saeedsmulla1996
0

Answer:

20

Initial value of b =2

if condition false so else condition will run

b= b*10

b = 2*10

Similar questions