We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi.. I want to send Binary Data using printf() function for examle if I do
printf("%d",i)
"But how can we send Binary Data when we have a float data type instead of integer." You will have to read the compiler Manual to find the internal representation of the float type, and then devise a means to access the individual bytes of that representation. This is standard 'C' stuff; the main choices are: [1] shift & mask - usually portable, but often slow; [2] use a union - non-portable, but usually quicker Try a 'Search', as this has definitely been discussed before!