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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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