J
Jeff
Hello everybody,
I'm kind of new to C programming, but here's a little question.
Usually, when you have an array of chars, you put a \0 at the end of
it to terminate the string. That way, it is possible with functions
like strlen to get the array size. But is it possible to do the same
thing with an array of integers or floats? And are there any functions
that do so ?
Any help will be appreciated,
Cheers!
- Joseph
I'm kind of new to C programming, but here's a little question.
Usually, when you have an array of chars, you put a \0 at the end of
it to terminate the string. That way, it is possible with functions
like strlen to get the array size. But is it possible to do the same
thing with an array of integers or floats? And are there any functions
that do so ?
Any help will be appreciated,
Cheers!
- Joseph