foo.cc:8:10: error: stray '\357' in program
scanf(“%d”,&n);
^
foo.cc:8:11: error: stray '\274' in program
scanf(“%d”,&n);
^
foo.cc:8:12: error: stray '\210' in program
scanf(“%d”,&n);
^
foo.cc:8:13: error: stray '\342' in program
scanf(“%d”,&n);
^
foo.cc:8:14: error: stray '\200' in program
scanf(“%d”,&n);
^
foo.cc:8:15: error: stray '\234' in program
scanf(“%d”,&n);
^
foo.cc:8:18: error: stray '\342' in program
scanf(“%d”,&n);
^
foo.cc:8:19: error: stray '\200' in program
scanf(“%d”,&n);
^
foo.cc:8:20: error: stray '\235' in program
scanf(“%d”,&n);
^
foo.cc:8:24: error: stray '\357' in program
scanf(“%d”,&n);
^
foo.cc:8:25: error: stray '\274' in program
scanf(“%d”,&n);
^
foo.cc:8:26: error: stray '\211' in program
scanf(“%d”,&n);
^
foo.cc: In function 'int main()':
foo.cc:8:17: error: 'd' was not declared in this scope
scanf(“%d”,&n);
^
foo.cc:8:17: note: suggested alternative: 'dp'
scanf(“%d”,&n);
^
dp
foo.cc:31:1: error: expected '}' at end of input
}
^
foo.cc:11:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
~~~~~^~~~~~~~~~~~