Search:

Type: Posts; User: yosoyvenezolano

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    2,718

    Many thanks

    Many thanks to all you.
    I must say that I was lucky. I had a program chashing when (after a lot of times) free() was used. Based on one comment of mats

    I Inspect the value of (say) p[k] (k=-1, -2...
  2. Replies
    11
    Views
    2,718

    Experiments

    I have done some experiments. I have used Debian GNU/linux gcc (32 and 64 bits). The values of p[k] (k = -1 and -2 for 32 and 64 bits respectively) depend on the value of n. And If I use several...
  3. Replies
    11
    Views
    2,718

    Thanks

    Thanks Mats.
    I am traying to induce a segmentation fault by modifying values using


    p[k] = v;

    Is it possible? Which values should I use for k and v?
    Juan Carlos.
  4. Replies
    11
    Views
    2,718

    malloc/free mark

    Hi ppl.
    suppose:


    #include <stdlib.h>

    #define N 10
    int main(int argc, char *argv[])
    {
    int *p, n = N;
Results 1 to 4 of 4