// Compares two strings using strcmp #include #include int main(void) { // Get two strings string s = get_string("s: "); string t = get_string("t: "); // Compare strings if (strcmp(s, t) == 0) { printf("Same\n"); } else { printf("Different\n"); } }