title: Ctrl + C interrupt event handling in Linux
body: <p>I am developing an application that uses C++ and compiles using Linux GNU C Compiler. </p>
  
  <p>I want to invoke a function as the user interrupts the script using <kbd>Ctrl</kbd> + <kbd>C</kbd>  keys.</p>
  
  <p>What should I do? Any answers would be much appreciated.</p>