Your main problem was declaring int prod in the while loop. This caused prod to be reset back to 1 every time the while loop ran.
Answer:
Kernal module
Explanation:
Modules are pieces of code that can be loaded and unloaded into the kernel upon demand. They extend the functionality of the kernel without the need to reboot the system.
Answer:
Object-oriented programming
Explanation:
When used in object-oriented programming , a class is a factory for creating object. An object is a collection of data and behavaiors that represent some entity(real or abstract).