हिंदी
तमिलनाडु बोर्ड ऑफ सेकेंडरी एज्युकेशनएचएससी विज्ञान कक्षा ११

What is a reference variable? What is its use? - Computer Science

Advertisements
Advertisements

प्रश्न

What is a reference variable? What is its use?

टिप्पणी लिखिए

उत्तर

Reference variable in C++ is an alias for the existing variable. They store nothing but the address of the variable used at the time of its declaration. It is important to assign the reference variable at the time of declaration, else it will show an error.

shaalaa.com
Variables of Built-in-data Types
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 9: Introduction to C++ - Data Types, Variables and Expressions - Evaluation - Section - B [पृष्ठ १५०]

APPEARS IN

सामाचीर कलवी Computer Science [English] Class 11 TN Board
अध्याय 9 Introduction to C++
Data Types, Variables and Expressions - Evaluation - Section - B | Q 4. | पृष्ठ १५०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×