Compiler output
prog.cpp:6:5: warning: second argument of 'int main(int, char*)' should be 'char **' [-Wmain]
int main(int argc, char *argv)
^
prog.cpp: In function 'int main(int, char*)':
prog.cpp:26:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < strlen(b); ++j)
^
prog.cpp: At global scope:
prog.cpp:6:14: warning: unused parameter 'argc' [-Wunused-parameter]
int main(int argc, char *argv)
^
prog.cpp:6:26: warning: unused parameter 'argv' [-Wunused-parameter]
int main(int argc, char *argv)
^