TIL#01: Why Pointers Have Data Types
Ever since started learning programming in high school and knowing C & C++, one thing has always bugged me, that is, why do pointers have data types? In C & C++, when we need to declare a pointer we normally do it like this: int b = 10; int* a = &b; ...
Dec 27, 20215 min read235
