nullptr
English · noun
Senses
Sense 1 · noun · corpus
A special value in C that means a pointer points to nothing. A pointer is something code uses to refer to a place in memory.
Source: Mova's open texts. Licence: cc-by-sa-4.0.
Forms and counts
Noun
- Forms: nullptr (Number: Sing); nullptrs (Number: Plur).
- Seen 3 times in Mova's corpus index.
Usage and labels
corpus
The lesson shows nullptr as a way to write a null pointer and mentions nullptr_t, the name of its type.
Examples
4 source examples.
- In appropriate contexts in source code, such as for assigning to a pointer variable, a null pointer constant can be written as 0, with or without explicit casting to a pointer type, as the NULL macro defined by several standard headers or, since C23 with the constant nullptr. — Wikipedia: C (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- It builds on past releases, introducing features like new keywords, additional meaning for auto to provide type inference when declaring variables, new types including nullptr_t and _BitInt(N), and expansions to the standard library. — Wikipedia: C (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — Mova's open texts (cc-by-sa-4.0)
- It builds on past releases, introducing features like new keywords, additional meaning for auto to provide type inference when declaring variables, new types including nullptr_t and _BitInt(N), and expansions to the standard library. — Wikipedia: C (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — an example found by Mova's corpus index (cc-by-sa-4.0)
- In appropriate contexts in source code, such as for assigning to a pointer variable, a null pointer constant can be written as 0, with or without explicit casting to a pointer type, as the NULL macro defined by several standard headers or, since C23 with the constant nullptr. — Wikipedia: C (programming language) (Wikipedia contributors). Licence: cc-by-sa-4.0. — an example found by Mova's corpus index (cc-by-sa-4.0)
Notes and derived forms
corpus
Sources
Mova's open texts. Licence: cc-by-sa-4.0.
Mova's word records: counts from Mova's corpus index, word lists from Wiktionary and Mova's concept inventory. Licence: cc-by-sa-4.0.
This page in Markdown https://md.dictionary.elamur.ai/free/en/english/nullptr/