What will happens when you switch off your computer abruptly
Being a desktop user, you would have faced this problem many times.
Basically, when shutdown button is clicked what the OS does is it asks all the applications to save the progress and close the application and also shutdowns the background process.
So when an abrupt shutting down by removing the power cord or by other ways, mostly all your data will be lost instantly and sometimes the whole file may get corrupted. Another major problem was when you suddenly switch off your hard drive may get damaged which was a problem in earlier computers.
Other than this you may even have the risk of total OS corruption and your computer will won't even boot the next time. This happens mostly when you power off when your system is updating.