Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int f[10];
- int values[2] = {0, 1};
- int *pos;
- int x = 9;
- while (x >= 0)
- {
- pos = f + x;
- *pos = *(values+x%2);
- --x;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement