Mã chấm: 99440
Main.cc:13:29: error: declaration of ‘a’ as array of references void NhapMang(int n, int &a[]){ ^ Main.cc: In function ‘void NhapMang(...)’: Main.cc:14:22: error: ‘n’ was not declared in this scope for (int i = 0; i < n; i++){ ^ Main.cc:15:16: error: ‘a’ was not declared in this scope scanf("%d", &a[i]); ^ Main.cc: In function ‘void NhapSL(int&)’: Main.cc:9:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ~~~~~^~~~~~~~~~