uses of functions and arrays
Answers
Answered by
1
Answer:
function
:- the program which used any single task is called a function.
uses
Reusability of Code : Means Once a Code has Developed then we can use that Code any Time.
• Remove Redundancy: Means a user doesn’t need to Write Code Again and Again.
• Decrease Complexity: Means a Large program will be Stored in the Two or More Functions. So that this will makes easy for a user to understand that Code.
array
- array is linear type of data structure.
- array is smillar and homogeneous type of elements.
- array can store a fixed-size collection of elements of the same data type.
- An array is used to store a collection of data.
- it is often more useful to think of an array as a collection of variables of the same type.
Similar questions