Q. Comment on the following C statement.

Code:
n = 1;
   printf("%d, %dn", 3*n, n++);
  • (A) Output will be 3, 2
  • (B) Output will be 3, 1
  • (C) Output will be 6, 1
  • (D) Output is compiler dependent
πŸ’¬ Discuss
βœ… Correct Answer: (D) Output is compiler dependent

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
257
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Monu Rathod
Publisher
πŸ“ˆ
85%
Success Rate