[Solved] Dereferencing a pointer aliased from another of an incompatible type
With a code like this, you could have seen the answer in your precise case: #include <stdio.h> int main(void) { float x = 1; unsigned int i = *(unsigned int*) &x; printf(“%d\n”, i); return 0; } This type of assignment is illegal, by casting a pointer to a float into a pointer to an unsigned … Read more