Function is a derived data type ? | Sololearn: Learn to code for FREE!
0

Function is a derived data type ?

if yes then explain... if no then also explain

8th Apr 2017, 5:25 AM
Dilip kumar sivala
Dilip kumar sivala - avatar
2 Answers
+ 1
in c++ language ...function is a derived data type ?
8th Apr 2017, 5:46 AM
Dilip kumar sivala
Dilip kumar sivala - avatar
0
Data types are dependent on the language. Please note the language you talk about. You might be talking about treating functions as objects, what many modern languages do. And objects can be considered derived types, because you build them from numbers and strings etc. When you treat a function as an object you can manipulate it with other functions. Much like the derivative in maths: The derivative takes a function and gives back another function.
8th Apr 2017, 5:41 AM
1of3
1of3 - avatar