Main.cc:5:11: error: array must be initialized with a brace-enclosed initializer
int b[10]="hello";
^
Main.cc: In function 'int main()':
Main.cc:8:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",a);
^