Null-terminated string
In computer programming, a null-terminated string is a character string stored as an array containing the characters and terminated with a null character (a character with a value of zero, called NUL in this article). Alternative names are C string, which refers to the C programming language and ASCIIZ (although C can use encodings other than ASCII).
- Comment
- enIn computer programming, a null-terminated string is a character string stored as an array containing the characters and terminated with a null character (a character with a value of zero, called NUL in this article). Alternative names are C string, which refers to the C programming language and ASCIIZ (although C can use encodings other than ASCII).
- Has abstract
- enIn computer programming, a null-terminated string is a character string stored as an array containing the characters and terminated with a null character (a character with a value of zero, called NUL in this article). Alternative names are C string, which refers to the C programming language and ASCIIZ (although C can use encodings other than ASCII). The length of a string is found by searching for the (first) NUL. This can be slow as it takes O(n) (linear time) with respect to the string length. It also means that a string cannot contain a NUL (there is a NUL in memory, but it is after the last character, not "in" the string).
- Hypernym
- String
- Is primary topic of
- Null-terminated string
- Label
- enNull-terminated string
- Link from a Wikipage to another Wikipage
- 9000 family
- ACM Queue
- API
- Array data structure
- ASCII
- Assembly language
- Buffer overflow
- C (programming language)
- C++
- Category:String data structures
- Character string
- Computer insecurity
- Computer programming
- Constant time
- Core Foundation
- C standard library
- C string
- Data buffer
- Dennis Ritchie
- Digital Equipment Corporation
- Empty string
- Foundation Kit
- FreeBSD
- Hash table
- IBM z13 (microprocessor)
- Instruction set
- Linear time
- MACRO-10
- Microsoft Foundation Class Library
- Modified UTF-8
- Null character
- Objective-C
- PDP-10
- PDP-11
- Poul-Henning Kamp
- Qt (toolkit)
- Rope (computer science)
- Sentinel value
- Standard Template Library
- String (computer science)
- UTF-16
- UTF-8
- VAX
- Zilog Z80
- SameAs
- C风格字符串
- gocb
- m.01xrl8
- Null-terminated string
- Q17149583
- Stringa null-terminata
- Нуль-терминированная строка
- Нуль-термінований рядок
- ヌル終端文字列
- 널 종단 문자열
- SeeAlso
- String (computer science)
- Subject
- Category:String data structures
- WasDerivedFrom
- Null-terminated string?oldid=1122860150&ns=0
- WikiPageInterLanguageLink
- C string
- WikiPageLength
- 8913
- Wikipage page ID
- 338167
- Wikipage revision ID
- 1122860150
- WikiPageUsesTemplate
- Template:Citation needed
- Template:CProLang
- Template:Data types
- Template:Redirect
- Template:Reflist
- Template:See also
- Template:Use dmy dates