Computer Science, asked by harishu2005, 11 months ago

what is the output stored in the value c ?
int c=0;
while (b>0)
if (b%2==1)
c=c+a;
b=b/2;
a=a+a
}

Answers

Answered by MicroProgramer
1

Answer:

There will be an error.

Explanation:

you've not initiallized a and b

Similar questions
Math, 1 year ago