I'm reading elsewhere that adding more than one to this pointer is undefined behavior. And I know the code is a bit nonsense, it originates from an exam question and is just meant to demonstrate pointer arithmetic.
Code:#include <stdio.h> int main() { float *p = (float *)50; p = p + 3; printf("%p", p); }