a program in c - TechRepublic
Question
March 5, 2007 at 11:16 AM
harshbedi

a program in c

by harshbedi . Updated 19 years, 3 months ago

here i am writing the question
-initialise an array(integer) of 10 elements in main().
-pass the entire array to a function modify()
-in modify() multiply each element of array by 3
-return the control to main() and print the new array elements in main().

use pointers for solving the question……

the problem i am getting is in writing the code in modify() and how to return the entire array to the main()..

This discussion is locked

All Comments