Why do I get a segmentation fault with strcmp [closed]

Why do loop it for 44 times I don’t get it. But when I changed 44 to 3 in the loop it works.

for (i = 0; i < 3; i++)

Depends on your compiler though but in case of 44 iteration windows gives me message application not responding.

Leave a Comment