I thought addresses are 4 bytes big, why is this address 6 bytes?
Im compiling with gcc on a virtual machine with Ubuntu 20.04 and I got an x64 processor if this matters.
#include <stdio.h>
int main() {
char char_array[3] = {'a', 'b', 'c'};
printf("Address of char_array: %p\n", char_array);
}
$ gcc -g test.c
$ ./a.out
Address of char_array: 0x7ffc0ff83645