Chapter 8: Problem 3
What (if anything) is wrong with the following code?
char string_var[] = "Hello";
strcat(string_var, " and Good-bye.");
cout \(<<\) string_var
Assume that the code is embedded in a complete program, and that an include
directive for \(
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.