Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
116
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.  
  3. int main()
  4. {
  5. int arr[1028];
  6. int *ptr = arr;
  7.  
  8. for (int index = 0; index < 1028; index++)
  9. {
  10. ptr[index] = index;
  11. printf("%d", arr[index]);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement