It makes no sense to me either, but I think the code is incomplete (what's the purpose of tab1 and tab2 array?), or, I'm trying to run it on a wrong platform (Windowz).

Anyway I can get it compiled (Dev-C++ on XP) by removing the (ambiguous) single quote in line 19 and adding the (missing) semicolon in the first for in line 22. Still when executed it crashed with the usual friendly message:
"hello.exe has encountered a problem and needs to close. We are sorry the inconvenience."

Peace always,
<jdenny>