Home / Engineering / Problem Solving and Python Programming / Question

M

Mr. Dubey • 51.43K Points
Coach

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

(A) a global variable
(B) a volatile variable
(C) a local variable
(D) an automatic variable
Correct answer : Option (C) - a local variable

Explanation:
 the variable inside a function is called as local variable and the variable definition is confined only to that function.

Share

Discusssion

Login to discuss.