Main.c:4:16: error: expected ‘;’, ‘,’ or ‘)’ before ‘&’ token
void nhapn(int &n){
^
Main.c: In function ‘main’:
Main.c:61:2: warning: implicit declaration of function ‘nhapn’; did you mean ‘nan’? [-Wimplicit-function-declaration]
nhapn(n);
^~~~~
nan
Main.c:62:16: error: stray ‘\303’ in program
nhapmang(a,n);â
^
Main.c:62:17: error: stray ‘\242’ in program
nhapmang(a,n);â
^
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:58:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^