Skip to main content
nul

nul

9.9
A computer character with value zero that ends a text string
  • noun
  • /nʌl/
  • Specialized
translation icon : carácter nulo
  • The file ended with a nul character to indicate the end of the data.

Examples

  • If the system encounters a nul character, it stops reading the input.

  • In C programming, a string is terminated by a nul byte.

  • The character nul represents the end of a string.

  • The ASCII code for nul is 0.

  • In programming, a NUL character signifies the end of a string and tells the system to stop reading.

  • When saving the document, ensure there is no NUL byte in the filename to avoid errors.

  • The data stream included a NUL that indicated a lack of information at that point.

Compounds

9.9

A score of zero points in a contest

Surface Forms

nul singular
nuls plural

Etymology

Nul for the special character is named for its value 'zero' and acts like a stop signal in data, so when a program finds a nul byte it knows the text or string has ended.