Guest User

Untitled

a guest
Oct 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. void zero (int a[], int b[], int c[], int d[]);
  5.  
  6. const int size = 100000;
  7.  
  8. int main()
  9. {
  10. int a[size], b[size], c[size], d[size];
  11. int count, count2;
  12. count = 1;
  13. count2 = 0;
  14.  
  15. zero(a, b, c, d);
  16.  
  17.  
  18. }
  19.  
  20. void zero (int a[], int b[], int c[], int d[])
  21. {
  22. for (int v = 0; v < size; v++)
  23. {
  24. a[v] = 0;
  25. b[v] = 0;
  26. c[v] = 0;
  27. d[v] = 0;
  28. }
  29. }
Add Comment
Please, Sign In to add comment