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
πŸ’¬ Discuss
βœ… Correct Answer: (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.

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

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
1079
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
90%
Success Rate