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