For faster navigation, this Iframe is preloading the Wikiwand page for Null character.

Null character

Het null-karakter (afgekort NUL) is het eerste karakter (nummer 0, hex 0x00, octaal 00) in de ASCII-tekenset, en alle uitbreidingen hiervan (zoals ISO 8859-1).

Gebruik van het null-karakter

[bewerken | brontekst bewerken]

De eerste 32 karakters (0 t/m 31) van de karaktersets die gebaseerd zijn op de ASCII-tekenset zijn geen tekens, maar stuurcodes. Deze kunnen opdrachten zijn aan uitvoerapparaten of informatie geven over de structuur van de tekst of de gegevens. Het null-teken was oorspronkelijk bedoeld als teken dat genegeerd kon worden, maar wordt vaak als scheidingsteken tussen verschillende stukken data gebruikt. In veel programmeertalen is het zo dat tekenreeksen in het geheugen worden opgeslagen met een NUL als laatste karakter, zodat duidelijk is waar die eindigt. In het Engels noemt men dit null-terminated. Veel programmeertalen gebruiken de NUL om het eind van de tekenreeks te vinden. Als deze NUL ontbreekt en het programma zoekt verder dan dat het einde theoretisch kan liggen, dan kan dit tot onvoorspelbaar of onbedoeld gedrag leiden. Dit kan een beveiligingslek in de software opleveren.

{{bottomLinkPreText}} {{bottomLinkText}}
Null character
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?