Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include<stdio.h>
  2. void main(void)
  3. {
  4. int a[] = { 10,35,25,67,88,29,-999 };
  5. int *pa;
  6. pa = a;
  7. while (*pa != -999) {
  8. pa++;
  9. }
  10. pa--;
  11. while (pa >= a) {
  12. printf("%d\n", *pa);
  13. pa--;
  14. }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement