...
In the second strcat_nc()
call, the compiler will happily compile the code with no warnings, but the resulting code will attempt to modify the "str1"
literal, which may be impossible; the literal may not be defined in the heap. This violates STR05-A. Use pointers to const char when referencing string literals.
...