I have two variables:
char charTime[] = \"TIME\"; char buf[] = \"SOMETHINGELSE\";
I want to check if these two are equal... using ch
ch
You are checking the identity charTime and buf. To check the equality, loop over each character in one array and compare them with the related character in the other array.
charTime
buf