Q. Find the output of the following program.

Code:
main(){
 int i = (1, 2, 3);
 cout << i << endl;
}
  • (A) 1
  • (B) 2
  • (C) 3
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) 3

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
792
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Brijesh Goswami
Publisher
πŸ“ˆ
87%
Success Rate