Saturday, May 22, 2010

I need a C program to Insert elements into an array ( at any position)?

please help i need it in half hour

I need a C program to Insert elements into an array ( at any position)?
Post the code you have written so far and we will try to help you solve problems or errors. Don't ask people to do your entire project.
Reply:int main()


{


int buff[50];


int pos;





pos = 10;





//inserting integer '22' at array position 10


buff[pos] = 22;





return 0;


}


No comments:

Post a Comment