I have another question.

Let says I have 2 string
char a[10], b[10];

a and b have the same content.

I do
if(strcmp(a,b))
cout << "I love you";

It doesnt work.

It works when I use
if(strcmp(a,b)=='0')
cout << "I love you";

I am not allowed to use the == 0.

Anyone know the reason why?