πŸ“Š C Programming
Q. What is the output of this program?
Code:
#include <stdio.h>
#define i 5
int main()
{
  #define i 10
  printf("%d",i);
  return 0;
}
  • (A) 5
  • (B) 10
  • (C) Runtime error
  • (D) Compilation error
πŸ’¬ Discuss
βœ… Correct Answer: (B) 10

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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