Q. What will this code print?
Code:
#include <stdio.h>
int main() {
printf("%d", sizeof(double));
return 0;
}
β
Correct Answer: (C)
8
Explanation: Typically, double takes 8 bytes in C on most systems.