You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (strstr(str, "0000000") || strstr(str, "1111111")) // The strstr() function returns pointer to the first occurrence of the matched string in the given string. It is used to return substring from first match till the last character.