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...
Type: Posts; User: yosoyvenezolano
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...
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...
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.
Hi ppl.
suppose:
#include <stdlib.h>
#define N 10
int main(int argc, char *argv[])
{
int *p, n = N;