Saturday, May 22, 2010

Write c program to insert an element in 1-D array at specific place?

ok...








int myArray[100];


myArray[6] = 10;


myArray[10] = 20;








The array is a 1-D array of type int.


I am assigning position 6 and position 10 values...


Hope this helps.

Write c program to insert an element in 1-D array at specific place?
Write it yourself. Its not hard. Take a stab at it and we can help when you post the code.

clematis

No comments:

Post a Comment