4 ms·
I do not know how to convince you as others have failed, but I really believe that trying to understand the correct understanding about the memory allocation wa
by eveningcoffee 10y ago
I do not know how to convince you as others have failed, but I really believe that trying to understand the correct understanding about the memory allocation was the essence of these questions.
The final answer that the memory was dynamically allocated by the compiler is as wrong as it can be.
If I saw this code then my first reaction was that this code probably will produce a segmentation fault in the best case scenario. Well, that was after I verified that this is not some pointer usage question, as I am not an experienced C developer.