📊 C++
Q. Consider the following statements: int x = 22,y=15; x = (x>y) ? (x+y) : (x‐y); What will be the value of x after executing these statements?
  • (A) 22
  • (B) 37
  • (C) 7
  • (D) Error. Cannot be executed
💬 Discuss
✅ Correct Answer: (B) 37

You must be Logged in to update hint/solution

💬 Discussion


📊 Question Analytics

👁️
72
Total Visits
📽️
1 y ago
Published
🎖️
Ram Sharma
Publisher
📈
97%
Success Rate