Q. Will the following C code compile without any error?

Code:
#include <stdio.h>
    int main()
    {
        for (int k = 0; k < 10; k++);
            return 0;
    }
  • (A) Yes
  • (B) No
  • (C) Depends on the C standard implemented by compilers
  • (D) Error
πŸ’¬ Discuss
βœ… Correct Answer: (C) Depends on the C standard implemented by compilers

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
454
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Geetam
Publisher
πŸ“ˆ
97%
Success Rate