Computer Science, asked by ritikajainrj07, 5 months ago

int a=0.x=0;
while(x++<7)
a+=x;
a. 6
b.7
C. 8
d. None of the above​

Answers

Answered by sumanshinde54
0

Answer:

I don't know about it but it's not like that

Explanation:

I don't know about it but it's not like that

Answered by kushalkuldeepasn
0

Answer:

b. 7

Explanation:

as the value of x is 0 nd is post incremented, its value increases by 1 every time it gets inside the loop nd the value of a becomes the number of times the loop is entered.

Similar questions