Computer Science, asked by pankajkumar7812, 11 months ago

What will be the output of the following code :- i=5
def checkGlobal():
    global i
    i=i+10
    print(i)
checkGlobal()

10
5
15
None of the above​

Answers

Answered by rrtpradhan
0

Answer:

15

Explanation:

you have to put I=5

I=I+10

5=5+10

5=15

Answered by beingSaRcAsTiC
0

\huge{\fbox{\fbox{\bigstar{\mathfrak{\blue{Answer::}}}}}}

i= 5

i = 5 + 10

i = 15

therefore...Option.C

HOPE IT HELP$...!!!

@being_SaRcAsTiC

Similar questions