I understood correctly?
On a 64-bit system without parameters, the code gives "Segmentation fault".
Is there no " Segmentation fault" on the 32-bit system when started without parameters?
If my assumptions are correct, when creating a stack in the "main" function of the 64-bit system, a layer in the form of a red zone from the previous stack is filled with machine zeros and the parameters get no value, which leads to segmentation. And when creating a frame in the 32-bit system of this red zone is not! And the garbage from the old frame gets into the parameters and therefore there is no segmentation. But this is still not correct.
P.S. Thanks "Auto Save Recovery" accidentally closed the tab.
--- Post updated at 21:03 ---
I apologize this line should be read like this
Quote:
Is there no " Segmentation fault" on the 32-bit system when started without parameters?
There is no " Segmentation fault" on the 32-bit system when started without parameters