πŸ“Š C Programming
Q. What is the output of C Program?
Code:
int main()
{
    int k, j;
    
    for(k=1, j=10; k <= 5; k++)
    {
        printf("%d ", (k+j));
    }

    return 0;
}
  • (A) compiler error
  • (B) 10 10 10 10 10
  • (C) 11 12 13 14 15
  • (D) None of the above
πŸ’¬ Discuss
βœ… Correct Answer: (C) 11 12 13 14 15

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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