Can someone explain this ?

Правка en1, от CPharderthanDarkSouls, 2020-02-27 08:11:17

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)