Main.c:4:16: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
void nhapn(int &n){
^
Main.c: In function ‘main’:
Main.c:60:2: warning: implicit declaration of function ‘nhapn’; did you mean ‘nan’? [-Wimplicit-function-declaration]
nhapn(n);
^~~~~
nan
Main.c: In function ‘nhapmang’:
Main.c:18:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^~~~~~~~~~~~~~~~~
Main.c: In function ‘DCSTD’:
Main.c:57:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^