In a program if i use /* int *a = new int [n] / (and using delete at the end), the compiler throws sigbart error but if i use / int a[n] */ it compiles successfully ,Why ?
program : https://ideone.com/e.js/lZfJuL
Can someone explain this ?
In a program if i use /* int *a = new int [n] / (and using delete at the end), the compiler throws sigbart error but if i use / int a[n] */ it compiles successfully ,Why ?
program : https://ideone.com/e.js/lZfJuL
| Rev. | Язык | Кто | Когда | Δ | Комментарий | |
|---|---|---|---|---|---|---|
| en1 |
|
CPharderthanDarkSouls | 2020-02-27 08:11:17 | 250 | Initial revision (published) |