adplus-dvertising
frame-decoration

Question

What is a variable defined outside a function referred to as?

a.

A static variable

b.

A global variable

c.

A local variable

d.

An automatic variable

Posted under Python

Answer: (b).A global variable

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is a variable defined outside a function referred to as?