GCC compiler handles “char * str” and “char str[]” with the & operator differently
The compiler treats the types “char * var” and “char var[]” differently when it comes to taking the address of a variable via the & operator. Here’s a little snippet of code to demonstrate: