Q. Can two functions declare (non-static) variables with the same name.

  • (A) Yes
  • (B) No
  • (C) No, it gives a runtime error.
  • (D) Yes, but this is not a good practice.
πŸ’¬ Discuss
βœ… Correct Answer: (D) Yes, but this is not a good practice.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
230
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
92%
Success Rate