A unsigned 8 buffer is passed to a function. This function has a array of pointers to float values. Is following the correct way to insert 4 byte float value into unsinged 8 buffer?
(float *)buffer = *ptr_to_float;
Will buffer, buffer, buffer, and buffer contain the float value after execution of the above statement?