Hi
In C, If we declare a floating-point variable, accordingly its pointer should be a pointer to float.
My question is, is it because, for example, the address of a float object is a floating-point number, so it must necessarily be stored in a float object?
For any object type T, the pointer to the object is of type pointer to T. And this is what you want in most of the cases, since dereferencing is of type T again.
Converting the pointer to a char - or void - pointer is fine
olli
🐰🐾 سمیه
Rajul
Ariana
klimi
極白熊☠️Left hand dacing
بوصَعبْ
S.
Dima
Ritik