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
0
Answer:
20
Initial value of b =2
if condition false so else condition will run
b= b*10
b = 2*10
Similar questions
Art,
15 hours ago
Science,
15 hours ago
Psychology,
15 hours ago
Computer Science,
1 day ago
Social Sciences,
1 day ago
English,
8 months ago
English,
8 months ago