Strlen in Malloc
Why does this return no warnings? What is supposed to be wrong with the code?

    char *str = malloc(strlen("hello" + 1));
    strcpy(str, "hello");

Thanks!
Strlen in Malloc
===

Why does this return no warnings? What is supposed to be wrong with the code?

    char *str = malloc(strlen("hello" + 1));
    strcpy(str, "hello");

Thanks!