My questions were:
What is the output of:
#include stdio.h
int main(void) { printf("%d\n", sizeof(sizeof(int))); return 0; }
Is this portable at all?
There was only *one* reply yet (via personal email), and, alas, it
was not correct... :-)
Quoting Harbison/Steele's "C: A
What is the output of:
#include stdio.h
int main(void) { printf("%d\n", sizeof(sizeof(int))); return 0; }
Is this portable at all? %-} Whoever can answer these questions
immediately should have a look GHC's RTS, especially the calculation
of bit masks, shifts, ...
Cheers,
Sven
--