Another thing to point out is that we can have pointers to functions this is an sophisticated topic so we will keep at it just briefly.
A semantic mistake can be a lot even worse -- it can be a logical error in the software the software will compile and run but the program will behave otherwise than meant. This is opposed to static memory allocation, i.e. |