i have matrix which contains first column as index second and third as values in one c file and in other file
[index operations]
when i call the two files from the main program
it should be

[1 2 3 ]    [1 Add]  [1 5]

file 1 file2 main program

can anyone help .....

You will need to provide more information. How are you storing the matrix in your program What do you want to do with it? and very importantly what have you tried so far? Unless you give us some code to work with we can't help you.