Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. for(int y = 0; y < HT + 2; y++) {
  2. for(int x = 0; x < arrayCount; x++) {
  3. c :> dec[y][x];
  4. printf("(%d,%d) : %u | ",y,x,dec[y][x]);
  5. }
  6. printf("\n");
  7. }
  8. printf("[%d][%d]\n",sizeof(dec)/sizeof(dec[0]), sizeof(dec[0])/sizeof(int));
  9. printf("EOF.\n\n");
  10.  
  11. OUTPUT:
  12. (0,0) : 0 |
  13. (1,0) : 32767 |
  14. (2,0) : 1 |
  15. (3,0) : 0 | (0,0) : 1 |
  16.  
  17. [4][1]
  18. (1,0) : 0 | EOF.
  19.  
  20. EXPECTED OUTPUT:
  21. (0,0) : 0 |
  22. (1,0) : 32767 |
  23. (2,0) : 1 |
  24. (3,0) : 0 |
  25. [4][1]
  26. EOF.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement