int a = 10;
&a
int *a = new int; *a = 10;
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question#include <stdio.h> int main(int argc, char* argv[]) { int * a; a = (int*)0x001568fc; printf("%x\n",a); printf("%d\n",a); return 0; }
0xFDFDFDFD No man's land (normally outside of a process) 0xDDDDDDDD Freed memory 0xCDCDCDCD Uninitialized (global) 0xCCCCCCCC Uninitialized locals (on the stack)