159k views
3 votes
Consider the following code:

C = 100
C = C + 1
C = C + 1
print (c)
What is output?

User MohitJadav
by
5.2k points

1 Answer

3 votes

Answer:

The output of C is 102.

100 + 1 + 1 = 102