Q. What is the output of the C Program?

Code:
int main()
{
    float a=10.0;
    a = a % 3;
    printf("%f", a);

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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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