source:
CIVL/mods/dev.civl.com/examples/library/string/strlen_concrete.c@
bc0fbae
| Last change on this file since bc0fbae was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 147 bytes | |
| Line | |
|---|---|
| 1 | #include <civlc.cvh> |
| 2 | #include <string.h> |
| 3 | |
| 4 | void main(){ |
| 5 | char str[100] = "Hello World!"; |
| 6 | int len = strlen(str); |
| 7 | |
| 8 | $assert(len==12); |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.
