Q. What will this code print?

Code:
#include <stdio.h>
int main() {
    printf("%d", sizeof(double));
    return 0;
}
  • (A) 2
  • (B) 4
  • (C) 8
  • (D) 10
πŸ’¬ Discuss
βœ… Correct Answer: (C) 8
Explanation: Typically, double takes 8 bytes in C on most systems.
Explanation by: Mr. Dubey
Typically, double takes 8 bytes in C on most systems.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
77
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate