source:
CIVL/examples/library/string/strlen_concrete.c@
3d3af8f
| Last change on this file since 3d3af8f was e8576bf, checked in by , 8 years ago | |
|---|---|
|
|
| File size: 147 bytes | |
| Rev | Line | |
|---|---|---|
| [e8576bf] | 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.
