I was trying to make above code in C. And what i found boolean is not defined in C,sorry i was like What.
Ok fine let us C, i will use true and false as the
string for
testing.
Then i use keyword "string" as habitual of
java,now string is also not there, undefined keyword.
You have to use to char [],now am pissed.
Finally i made it somehow.It's very difficult for me to learn C again after Java.