πŸ“Š C Programming
Q. What will be the output of the following C code?
Code:
#include <stdio.h>
    int main()
    {
        unsigned int n = 25;
        signed char ch = -25;
        if (n > ch)
        {
            printf("Yes\n");
        }
        else if (n < ch)
        {
            printf("No\n");
        }
    }
  • (A) Yes
  • (B) No
  • (C) Depends on the compiler
  • (D) Depends on the compiler
πŸ’¬ Discuss
βœ… Correct Answer: (B) No

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
179
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Monu Rathod
Publisher
πŸ“ˆ
84%
Success Rate