format string is not a string literal code example
Example: format string is not a string literal
When using printf, the format string is better be a string literal and not a variable:
printf("%s", str_a);
When using printf, the format string is better be a string literal and not a variable:
printf("%s", str_a);