πŸ“Š C Programming
Q. What is the value of “y” in this code?
Code:
#include <stdio.h>

void main()
{
   int y = 5.3 % 2;
   printf("The value of y is %d", y);
}
  • (A) The value of y is 0,3
  • (B) The value of y is 1
  • (C) The value of y is 2,3
  • (D) Compilation error
πŸ’¬ Discuss
βœ… Correct Answer: (D) Compilation error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
190
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Rudra Pratap Singh
Publisher
πŸ“ˆ
91%
Success Rate