Python coder here. I still don't get it, why the different results?
>>109646640This doesn't even compile. You cannot auto-cast numbers to pointers in C++, only in C.You are trying to dereference memory in location 19, you would get a segfault if not for the C++ compiler stopping you.Why are you importing iostream anyway? You are using printf in stdio.h
>>109646667it compiles in my machine retard
>>109646640it doesn't compile you fucktard
>>109646640Are you sure that's Python? It looks weird.
>>109646640Maybe you should actually learn the language instead of trying to assume it works like Python. If you don't even know what a pointer is yet, you have zero right to go about complaining. You're basically on day one of using the language.