Q. What is the output of this program?

Code:
#include <stdio.h>
int main()
{
    int i;
    i = 1, 2, 3;     
    printf("%d", i);
    return 0;
}
  • (A) 1
  • (B) 2
  • (C) 3
  • (D) Invalid Syntax
πŸ’¬ Discuss
βœ… Correct Answer: (A) 1

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
213
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
83%
Success Rate