Q. What will be the output of the following C code?

Code:
#include <stdio.h>
    void main()
    {
        int n = 98;
        char m = n;
        printf("%c\n", m);
    }
  • (A) 98
  • (B) Compilation error
  • (C) b
  • (D) Garbage value
πŸ’¬ Discuss
βœ… Correct Answer: (C) b

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
244
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Monu Rathod
Publisher
πŸ“ˆ
80%
Success Rate