Programming help

In trying to understand a program that using sprintf and contains *%04X\n I just don't know what the X is for?

Is it like a type... f for float etc?

Thanks for any help!

Docs say:

Unsigned hexadecimal integer (uppercase)

https://en.cppreference.com/w/cpp/io/c/fprintf#Parameters

Thank you all so much!!!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.