Q. What is the output of this program?

Code:
#include <stdio.h>
#define p 17;
int main()
{
  printf("%d",p);
  return 0;
}
  • (A) 17
  • (B) Garbage value
  • (C) Compilation error
  • (D) Runtime error
πŸ’¬ Discuss
βœ… Correct Answer: (C) Compilation error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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