Q. What will this code print?
Code:
#define PI 3.14
int main() {
printf("%f", PI);
return 0;
}
β
Correct Answer: (A)
3.14
Explanation: The macro PI is replaced by 3.14 before compilation.