// altnames.c -- portable names for integer types
#include <stdio.h>
#include <inttypes.h>

int main(void)
{
	int16_t me16;

	me16 = 4593;
	printf("First, assume int16-t is short: ");
	printf("me16 = %hd\n", me16);
	printf("next, let's not make any assumptions.\n");
	printf("Instead, use a \"macro\" from inttypes.h: ");
	printf("me16 = %" PRId16 "\n", me16);
	return 0;
}