You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
delString is called with a pointer. This pointer is passed by value. Therfore it is not possible to change the pointer to NULL.
void delString ( String *string )
The pointer must be passed by a pointer:
void delString ( String **string )
The text was updated successfully, but these errors were encountered:
kwrtz
changed the title
you check a char for a string
delString does not set the pointer to NULL
Feb 10, 2024
delString is called with a pointer. This pointer is passed by value. Therfore it is not possible to change the pointer to NULL.
void delString ( String *string )
The pointer must be passed by a pointer:
void delString ( String **string )
The text was updated successfully, but these errors were encountered: