Q. On assigning a value to a variable inside a function, it automatically becomes a global variable.

  • (A) true
  • (B) false
  • (C) ---
  • (D) ---
πŸ’¬ Discuss
βœ… Correct Answer: (B) false
Explanation: on assigning a value to a variable inside a function, t automatically becomes a local variable. hence the above statement is false.

Explanation by: Mr. Dubey
on assigning a value to a variable inside a function, t automatically becomes a local variable. hence the above statement is false.

πŸ’¬ Discussion

πŸ“Š Question Analytics

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