answersLogoWhite

0

A program under execution is called a process. Hence a process will be loaded and run from the computer memory. A function is a small module within a program which gets some kind of work done.

A simple example - In a program which does various Arithmetic operations like add, subtract, multiply etc. the code needed to perform addition may be placed inside an 'add' function and so on. When this program is run, it becomes a process in memory. It stays in memory until the process is 'killed' or it exits normally

User Avatar

Wiki User

14y ago

Still curious? Ask our experts.

Chat with our AI personalities

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
BeauBeau
You're doing better than you think!
Chat with Beau
EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra

Add your answer:

Earn +20 pts
Q: What is the difference between a process and a function?
Write your answer...
Submit
Still have questions?
magnify glass
imp