+ 1

In C++ array, what happens if you initialize more elements more than the size of an array?

C++ array

9th Oct 2021, 7:24 AM
Tetteh Enoch Delali
Tetteh Enoch Delali - avatar
5 Respuestas
+ 4
Try it and see!
9th Oct 2021, 7:31 AM
Slick
Slick - avatar
+ 3
Hello! This is the beauty of programming, if you can come up with some idea or theory, you can test it out any time you want and learn something new. This a great step towards developing a stronger connection to the code as it helps you think more deeply about why you are coding something rather than how you are coding it. Keep progressing!
9th Oct 2021, 7:44 AM
Jibraeel Abdelwahhab
Jibraeel Abdelwahhab - avatar
0
I tried it gave me same. Thank you.
9th Oct 2021, 7:45 AM
Tetteh Enoch Delali
Tetteh Enoch Delali - avatar
0
Thank you Jibraeel Abdelwahhab
9th Oct 2021, 7:47 AM
Tetteh Enoch Delali
Tetteh Enoch Delali - avatar
- 1
It will give you an error....
9th Oct 2021, 7:41 AM
Indira
Indira - avatar