Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1.  
  2. int fx(int a,int*b)
  3. {
  4. a+=*b++;
  5.  
  6. return a;
  7.  
  8. }
  9.  
  10.  
  11.  
  12.  
  13.  
  14. int main()
  15. {
  16. int X[4][4]= {1,2,3,4};
  17. int Y[4]= {50,60,70,80};
  18. int e=0,f=0;
  19.  
  20. f=fx(f+1,(X+1));
  21. printf("%d\n",f);
  22. return 0;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement