πŸ“Š C++
Q. What is the output of the following code snippet? int x = 10; int y = 20; cout << (x & y);
  • (A) 10
  • (B) 20
  • (C) 0
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 0

Explanation: The bitwise AND operation between 10 (1010) and 20 (10100) results in 0.

Explanation by: Rakesh Kumar
The bitwise AND operation between 10 (1010) and 20 (10100) results in 0.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
174
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
93%
Success Rate