Following code doesn't stop exection at "jk" if jk is (say) 2nd entry?

#include
using namespace std;
int main()
{
char c[100];
for(int i=0;i<4;++i)//there should be any constraint which you shoudl give in the loop.
{
cin.getline(c,100);
if(c==“jk”)
break;
cout<<c<<endl;
}
return 0;
}