foo.cc:9:10: error: stray '\357' in program
scanf("%d",&n);
^
foo.cc:9:11: error: stray '\274' in program
scanf("%d",&n);
^
foo.cc:9:12: error: stray '\210' in program
scanf("%d",&n);
^
foo.cc:9:20: error: stray '\357' in program
scanf("%d",&n);
^
foo.cc:9:21: error: stray '\274' in program
scanf("%d",&n);
^
foo.cc:9:22: error: stray '\211' in program
scanf("%d",&n);
^
foo.cc: In function 'int main()':
foo.cc:9:13: error: expected ';' before string constant
scanf("%d",&n);
^~~~
foo.cc:9:23: warning: statement is a reference, not call, to function 'scanf' [-Waddress]
scanf("%d",&n);
^
foo.cc:9:23: warning: statement has no effect [-Wunused-value]
foo.cc:32:1: error: expected '}' at end of input
}
^
foo.cc:12:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~