I recently got to know an integer takes 4 bytes from the memory.
First ran this code, and measured the memory usage:
int main() { int *pointer;
Two explanations:
new
-g