To use Free() more than once cause a "FATAL ERROR" .
"FATAL ERROR" cause CRASH the program,
and because of which we get a segmentation fault as error...
sometime it also make problem when we are doing program in group. one member frees the pointer while actually another fellow is using same pointer.
so never try to use Free() more than once for same pointer.
"FATAL ERROR" cause CRASH the program,
and because of which we get a segmentation fault as error...
sometime it also make problem when we are doing program in group. one member frees the pointer while actually another fellow is using same pointer.
so never try to use Free() more than once for same pointer.
0 comments:
Post a Comment