title: How to convert a float to a 4 byte char in C?
body: <p>I want to convert a float number for example 2.45 to the 4 byte char array. 
  so the 2.45 should look like this  <code>'@' 'FS' 'Ì' 'Í'</code> which is binary the ieee representation of <code>2.45 =  01000000 00011100 11001100 11001101</code>?</p>
  
  <p>I've solved the problem but it has a bad complexity. do you have any good ideas?</p>
  
  <p>Thanks for the good answers.</p>
  
  <p>can you please tell me the way back from the char array to the float number ? </p>