are not legal ?
Well all memory addressees are legal.. It depends on your software architecture. Except negative values like for instance, ((void *)-5) is problematic
The problem comes from where it points to.. You can have it point to a part outside of your program. These type of things are frowned upon as you can have stack corruption and intentionally modify parts of program or even add malicious code 😑
Обсуждают сегодня