Advertisement
Guest User

Untitled

a guest
Sep 28th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. double function(double [][2]);
  2.  
  3. void main()
  4. {
  5. double test[2][2];
  6. print("%f %f %f %f\n", test[0][0], test[0][1], test[1][0], test[1][1]);
  7. test = function(test);
  8. }
  9.  
  10. double function(double input[][2])
  11. {
  12. input[0][0] = 0.0;
  13. input[0][1] = 0.1;
  14. input[1][0] = 0.2;
  15. input[1][1] = 0.3;
  16. return input;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement