mirror of
https://github.com/TheAlgorithms/C
synced 2024-11-21 21:11:57 +03: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