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

    return 0;
}
  • (A) 2.5
  • (B) 2
  • (C) 5
  • (D) Compiler error.
πŸ’¬ Discuss
βœ… Correct Answer: (C) 5

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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