Mã chấm: 15353


Main.c:2:16: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
 void NhapN(int &n){
                ^
Main.c: In function ‘main’:
Main.c:17:2: warning: implicit declaration of function ‘NhapN’; did you mean ‘NhapA’? [-Wimplicit-function-declaration]
  NhapN(n);
  ^~~~~
  NhapA
Main.c: In function ‘NhapA’:
Main.c:12:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ^~~~~~~~~~~~~~~~~