Output float and hexadecimal
#include <stdio.h> int main(void) { printf("%x %#x\n", 10, 10); printf("%*.*f", 10, 4, 1234.34); return 0; }