←
Top
/
Answer-26B-4
Answer to Question 26B-4
The
strcpy
line tries to copy "goat" to an address that is a dangling pointer.
Pointer
s
is uninitialized. So
s
is a
dangling pointer
.