Relative Content

Tag Archive for c++cassemblymemory

different behaviour when inside a scope in c Access violation reading location 0x0

i have two pictures down below, in the first the variable cc is working but the moment we put that line inside a scope we get “Access violation reading location 0x00000000”
it makes no sense
i was a first working in codeblock for hours trying to solve this issue but i couldnt even find what the error was despite trying many things, it simply makes no sense