i am receiving number from ADC naturally its in the form of hex,but i need display it as decimal so its need conversion or any other method pls help me
And you don't understand how to do division by ten? That would seem a bit career limiting.
You want ASCII output? itoa() www.cplusplus.com/.../
As I'm not aware of an ADC that generates "hex", going to assume it's a binary integer of 12-16 bits width.