mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
parent
f851fbbe2f
commit
d017c3ef77
@ -100,6 +100,8 @@ int updateValueCArray(CArray *array, int position, int value)
|
||||
{
|
||||
if (array->array[position] != 0)
|
||||
{
|
||||
array->array[position] = value;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user