πŸ“Š C Programming
Q. What is the output of C Program?
Code:
int main()
{
    int a=10, b, c;
    b=a++;
    c=++a;
    printf("%d %d %d", a, b, c);

    return 0;
}
  • (A) 10 11 12
  • (B) 12 10 12
  • (C) 12 11 12
  • (D) 12 12 12
πŸ’¬ Discuss
βœ… Correct Answer: (B) 12 10 12

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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