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