Try this code:
#include <stdio.h>
int main() {
double doubly = 12345.123456;
long int longy = 12345678900L;
short int shorty = 1234;
unsigned char ch = 'Z';
printf("This is doubly: %lf\n", doubly);
printf("This is longy: %ld\n", longy);
printf("This is shorty: %hd\n", shorty);
printf("This is ch: %c", ch);
return 0;
}