Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int y = 0; y < HT + 2; y++) {
- for(int x = 0; x < arrayCount; x++) {
- c :> dec[y][x];
- printf("(%d,%d) : %u | ",y,x,dec[y][x]);
- }
- printf("\n");
- }
- printf("[%d][%d]\n",sizeof(dec)/sizeof(dec[0]), sizeof(dec[0])/sizeof(int));
- printf("EOF.\n\n");
- OUTPUT:
- (0,0) : 0 |
- (1,0) : 32767 |
- (2,0) : 1 |
- (3,0) : 0 | (0,0) : 1 |
- [4][1]
- (1,0) : 0 | EOF.
- EXPECTED OUTPUT:
- (0,0) : 0 |
- (1,0) : 32767 |
- (2,0) : 1 |
- (3,0) : 0 |
- [4][1]
- EOF.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement