What is Memory Leak, Valgrind and PID?

  1. Process → A program becomes process when that program is loaded or given some space on RAM i.e. runtime environment or whenever developer executes the program.
  2. Kernel → It is a component of Operating System and whenever developer runs a code, that code is provided to kernel and then, kernel decides what to do. Hence, kernel behind the scene, converts the program or code and loads it on top of RAM.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store