riferimento
Sign in to saveAlso known as reference, reference type, reference datatype
value that gives indirect access to e.g. a variable or register
Described at

Pointers and References in C++ - GeeksforGeeks
Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more., Your All-in-One Learning Portal. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
geeksforgeeks.org →Pointers store memory addresses and provide indirect access to data. References create an alternative name for an existing variable. Both are commonly used for efficient parameter passing and data manipulation. Pointers are variables that store the memory address of another variable. They provide direct access to memory locations and are commonly used for dynamic memory allocation, efficient parameter passing, and implementing complex data structures. Store the address of a variable or memory location. Can be reassigned to point to different variables. Can store a nullptr value when not pointing to any valid memory location. Require the dereference operator ( ) to access the value stored at the address. Have their own memory address independent of the variable they point to. Pointers and references are both used to access and manipulate data indirectly, but they differ in how they store and refer to memory. The following table highlights the key differences between pointers and references in C++.
Excerpt from a page describing this subject · 11,130 chars · not written by Vinony
Wikidata facts
- Subclass of
- primitive data type
- Has use
- reference
Show 1 more fact
- described at URL
- www.programiz.com/cpp-programming/references
Sources (1)
via Wikidata · CC0
Article · Italiano
In programmazione, la parola riferimento (o reference in inglese) indica, in generale, un valore che identifica univocamente e permette di accedere a un dato in memoria. In molti linguaggi, "riferimento" è sinonimo di puntatore. In altri, i riferimenti sono specializzazioni o varianti del concetto di puntatore. Alcuni esempi sono: * i riferimenti del C++, che sono speciali puntatori a implicita; * i riferimenti del Java, assimilabili a puntatori a oggetto. Espressioni composte che usano il termine riferimento: * il passaggio di parametri per riferimento è una forma di passaggio di parametri a sottoprogramma, in cui quest'ultimo riceve un riferimento a un dato anziché una copia del valore (si veda passaggio di parametri per valore).
Abstract from DBpedia / Wikipedia · CC BY-SA