mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-06-06 02:29:52 +00:00
14 lines
358 B
C
14 lines
358 B
C
#include "hw3.h"
|
|
|
|
extern void write(char* s);
|
|
extern void hexun(int);
|
|
|
|
void printsizes(void)
|
|
{
|
|
write("sizeof(char) == "); hexun(sizeof(char));
|
|
write("sizeof(short) == "); hexun(sizeof(short));
|
|
write("sizeof(int) == "); hexun(sizeof(int));
|
|
write("sizeof(long) == "); hexun(sizeof(long));
|
|
write("sizeof(long long) == "); hexun(sizeof(__longlong));
|
|
}
|