fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. char a[3];
  6. double b;
  7. int c[2];
  8.  
  9. printf("char a[3] : %lu : %p\n",sizeof(a),&a);
  10. printf("double b : %lu : %p\n",sizeof(b),&b);
  11. printf("int c[2] : %lu : %p\n",sizeof(c),&c);
  12.  
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
char a[3] : 3 : 0x7ffeee1c2f05
double b : 8 : 0x7ffeee1c2ef0
int c[2] : 8 : 0x7ffeee1c2efc