fork(9) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a;
  5. double b;
  6. printf("int : %lu : %p\n",sizeof(a),&a);
  7. printf("double : %lu : %p\n",sizeof(b),&b);
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
int : 4 : 0x7ffc55b6d48c
double : 8 : 0x7ffc55b6d490