Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- double function(double [][2]);
- void main()
- {
- double test[2][2];
- print("%f %f %f %f\n", test[0][0], test[0][1], test[1][0], test[1][1]);
- test = function(test);
- }
- double function(double input[][2])
- {
- input[0][0] = 0.0;
- input[0][1] = 0.1;
- input[1][0] = 0.2;
- input[1][1] = 0.3;
- return input;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement