What is the difference between a module and a function?
Give one example of each either with pseudo code or a short description.
Function is like set of statements which performs the task and returns the result
where module is collection of functions where we can import and use it
Part2:
function example
function1 (){
statement1
statemen2
}
module exampe
MODULE
function1 (){
statement1
statemen2
}
function2 (){
statement1
statemen2
}
function2 (){
statement1
statemen2
}
END MODULE
Note : Please comment below if you have concerns. I am here to help you
If you like my answer please rate and help me it is very Imp for me
Get Answers For Free
Most questions answered within 1 hours.