printf("43 Dezimal ist in Hexadezimal: %x\n", 43);

kaynak: http://de.wikibooks.org/wiki/C-Progr...n-_und_Ausgabe