S
sophia.agnes
Dear all,
I was going through peter van der linden's book expert C programming
there i found the following section on bus error
a few years ago bus errors were also generated if a memory parity
error was detected.These days memory chips are so reliable , and so
well protected by error detection and correction circuitry, that
parity errors are almost un heard of at the application programming
level.
how true is the above explanation and that can any one give example
code for generating memory parity error ?
a bus error can also be generated by referencing a memory that do not
physically exists
i tried this example:-
int *p = (int*)(-3);
*p =17;
but i am getting only segmentation fault.
what could be proper example for the above statements
I was going through peter van der linden's book expert C programming
there i found the following section on bus error
a few years ago bus errors were also generated if a memory parity
error was detected.These days memory chips are so reliable , and so
well protected by error detection and correction circuitry, that
parity errors are almost un heard of at the application programming
level.
how true is the above explanation and that can any one give example
code for generating memory parity error ?
a bus error can also be generated by referencing a memory that do not
physically exists
i tried this example:-
int *p = (int*)(-3);
*p =17;
but i am getting only segmentation fault.
what could be proper example for the above statements