I'm using sprintf to print numeric & string data into a buffer.
The code i've used is sprintf(szBuf,"Size : %d bytes",&fsize)

So far so good.

How can i set up the number to be formatted to show seperators ie
What i want to display : Size : 1,128,654 bytes
What i'm able to do with sprintf : Size : 1128654 bytes