Q. What will be the value of the following assignment expression?

Code:
 (x = foo())!= 1 considering foo() returns 2
  • (A) 2
  • (B) True
  • (C) 1
  • (D) 0
πŸ’¬ Discuss
βœ… Correct Answer: (A) 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
254
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Monu Rathod
Publisher
πŸ“ˆ
90%
Success Rate