binding - In C++, we can't declare a reference without initialization. Why? -
in c++, can't declare reference without initialization. actual reason this.although aware uses of references in operator overloading , other concepts.
c++ references (in ordinary c++ meaning of word) can't reassigned. if reference isn't initialized can't made refer anything. , language not support null-references, hence, uninitialized reference, if such permitted, in error.
Comments
Post a Comment