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. return 0;
  12. }
Success #stdin #stdout 0.01s 5416KB
stdin
Standard input is empty
stdout
char a[3]:3:0x7ffc9ec27325
double b:8:0x7ffc9ec27310
int c[2]:8:0x7ffc9ec2731c