Please answer as soon as possible
Both the procedural and functional programming paradigms emphasize the use of functions. What is the key difference between those two programming paradigms?
A :Functions (in procedural programming) are treated as data and they can be passed as parameters to other functions or even returned by functions.
B :Functions (in functional programming) are treated as data and they can be passed as parameters to other functions or even returned by functions.
C :Functions (in procedural programming) are treated as data and they cannot be passed as parameters to other functions or returned by functions.
D :Functions (in functional programming) are treated as data and they cannot be passed as parameters to other functions or returned by functions.
Please answer as soon as possible
Both the procedural and functional programming paradigms emphasize the use of functions. What is the key difference between those two programming paradigms?
B: Functions (in functional programming) are treated as data and they can be passed as parameters to other functions or even returned by functions.
C :Functions (in procedural programming) are treated as data and they cannot be passed as parameters to other functions or returned by functions.
Explanation:
In functional programming each function is treated as data, We can combine different functions into one function in functional programming. Functions can be used as parameters to functions and even they can be returned by functions also.
Get Answers For Free
Most questions answered within 1 hours.