This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Contary to the popular myth, an array's name isn't always the same as a pointer to it's first element! | |
| #include <stdio.h> | |
| int main() { | |
| // You can reassign a pointer... | |
| int *ptr; | |
| ptr = (int *) 0xDEADBEEF; | |
| // But as an array ISN't a pointer... |