← Back to Question List
C Code Walkthrough #3
sizeof Operator
📄 Code
Read carefully — what does this print?1#include <stdio.h>23int main() {4 char c = 'A';5 int i = 100;6 double d = 3.14;7 printf("%lu\n", sizeof(c));8 printf("%lu\n", sizeof(i));9 printf("%lu\n", sizeof(d));10 return 0;11}