Type safety. Defining the type of pointers helps the compiler find errors where you are trying to use data of the wrong type through a pointer. That’s the reason C has types in the first place.
Type safety. Defining the type of pointers helps the compiler find errors where you are trying to use data of the wrong type through a pointer. That’s the reason C has types in the first place.