0_0_29187046_6980.cpp: In function 'int main()': 0_0_29187046_6980.cpp:40:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] for(int j=0;j<b;j++){ ^