is line 7 correct?
#include <stdio.h>
#include <string.h>

int main() {
    char str[100] = "Hello, world!\n";
    char *token;
    token = strtok(str, "\n");  // split the string at "\n"

    printf("%s", token);  // print the string without "\n"

    return 0;
}