fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main (int argc, char *argv[])
  4. {
  5. double a = 1.1;
  6. double b = 2.2;
  7. char * A = (char *) &a;
  8. char * B = (char *) &b;
  9. size_t s = abs (A - B);
  10. printf ("distanza: %i\n", s);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
distanza: 8