Main.cc: In function 'int main()':
Main.cc:10:23: warning: comparison with string literal results in unspecified behaviour [-Waddress]
for(int i=0;a[i]!="\0";i++){
^
Main.cc:10:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]