mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-10-09 11:46:20 +02:00
[SPCA] Continue summary
This commit is contained in:
1 parent
74205e8cf0
commit
13e3210298
20 files changed
+79
-9
No files matched your search
@@ -3,4 +3,4 @@
|
||||
with length of the array $n + 1$ (where $n$ is the number of characters of the string).
|
||||
The extra element is the termination character, called the \texttt{null character}, denoted \verb|\0|.
|
||||
To determine the actual length of the string (as it may be padded), we can use \verb|strnlen(str, maxlen)| from \texttt{string.h}
|
||||
\inputcodewithfilename{c}{code-examples/00_c/}{04_strings.c}
|
||||
\inputcodewithfilename{c}{code-examples/00_c/00_basics/}{04_strings.c}
|
||||
Reference in new issue
Block a user