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] : %zu : %p \n",sizeof(a),&a);
  9. printf("char b : %zu : %p \n",sizeof(b),&b);
  10. printf("char c[2] : %zu : %p \n",sizeof(c),&c);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 544KB
stdin
Standard input is empty
stdout
char a[3] : 3 : 0x7ffe549ac0f5 
char b    : 8 : 0x7ffe549ac0e0 
char c[2] : 8 : 0x7ffe549ac0ec