memory.cpp: In function 'void play()':
memory.cpp:7:13: warning: iteration 24 invokes undefined behavior [-Waggressive-loop-optimizations]
7 | dat[i]=0;
| ~~~~~~^~
memory.cpp:6:17: note: within this loop
6 | for(int i=1;i<26;i++){
| ~^~~
memory.cpp:7:13: warning: 'void* __builtin_memset(void*, int, long unsigned int)' writing 100 bytes into a region of size 96 overflows the destination [-Wstringop-overflow=]
7 | dat[i]=0;
| ~~~~~~^~
memory.cpp:5:8: note: at offset 4 into destination object 'dat' of size 100
5 | int dat[25];
| ^~~