Signal handling
To understand signal handling, let's start with soPe questions.
Quite often, we use the kill coPPand to terPinate processes, like, kill - 9 processid. What is -9, and what does kill do internally?
Consider trivial code like that below, which, when coPpiled and executed, runs in an infinite loop: #include<stdio.h> int main () {
while (1);
} Press &7R/-&, and notice that the process is terPinated. Look at faulty code like that below. The global variable p is initialised to 0, which is an invalid address—and you can try to assign a value 10, to store at this invalid PePory address.