Q. What is the output of the C Program?

Code:
int main()
{
    int a=0;
    a = 14%-5 - 2;
    printf("%d", a);

    return 0;
}
  • (A) 0
  • (B) -4
  • (C) -2
  • (D) 2
πŸ’¬ Discuss
βœ… Correct Answer: (D) 2

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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