I was experimenting with allocating pointers to addresses. I was deliberately trying to make a compiler error
and mismatched variable and pointer type by doing:
int *ptr{nullptr};
double temp{35.5};
ptr = &temp;
Although I don’t get a compiler error and my program runs? Not only this, but after running, the compiler seems to become completely insensitive to any sort of error and runs anyway? It just runs whatever previously bug-free code was present previously? Hopefully this sounds familiar. I can send screenshots for further clarification