Program with Function takes Square of Array Value
Write a program which declares an array, initialize it then pass to a function. Function takes square of array values and update it. Show updated values in main function?
Answers
Answered by
0
array is reference by default... so whatever changes done in the function update reflects in the main function also.... hence this is the prog:)
Attachments:
Similar questions
English,
8 months ago
Math,
8 months ago
Sociology,
8 months ago
Social Sciences,
1 year ago
Math,
1 year ago