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. }
  13.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
char   a[3] : 3 : 0x7ffccea8b5f5 
double b    : 8 : 0x7ffccea8b5e0 
int    c[2] : 8 : 0x7ffccea8b5ec