πŸ“Š C++
Q. What will be the output of the following code?

int a = 5;
int b = 2;
cout << a / b;
  • (A) 2.5
  • (B) 2
  • (C) 1
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
203
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Priyanka Tomar
Publisher
πŸ“ˆ
94%
Success Rate