![]() |
![]() |
![]() |
![]() |
![]() |
|
Suppose that you modify the short_name function appearing in the
box_car class in the program shown in Segment 541 as
follows:
virtual char* short_name ( ) {
char character_array = "box";
return &character_array;
}
What happens? Explain your answer.