Memory !!!



I have a small problem
  I want to access a memory location assigned to a variable in program, in
another program ( a different process)
        For instance if in 1.c  we have
        main()
        {
                int p = 5;
                printf("%p",&p);
                getchar();
        }
        This program will print the address of p.
        Now I want to access the value of p in another program. Can anyone
tell me how to do this ?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]