C doesn't store the length of a string anywhere.
C doesnt have a string type at all. And IMO null-terminated character arrays have proven to be the most expensive design-fault in the entire history of computing, costing billions per year. In this respect I think that history has proven that Wirth was right and the Kernigham and Ritchie were wrong. Which I guess makes 1 for 30 or something :-)
In reply to Re^4: How to specify a Null char in a match operation
by demerphq
in thread How to specify a Null char in a match operation
by Nik
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |