Answer Posted / o saienni
You cannot have a pointer to a reference.
In other words
int &* isn't allowed.
using:
int nArray[3];
The variable nArray is infact a pointer to an array or an
int pointer and the [] will find the offset within that
array. So an array of references will be a pointer to a
reference and this is why it's not allowed.
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
What is malloc in c++?
Does c++ support exception handling?
What are compilers in c++?
How to defines the function in c++?
Explain static and dynamic memory allocation with an example each.
Explain how to initialize a const data member.
What does the following code do: int c=0; cout< a) Undefined *Updated* b) 01 c) 00
what is the difference between overloading & overriding? give example.
What is the difference between an external iterator and an internal iterator? Describe an advantage of the external iterator.
Will c++ be replaced?
Explain bubble sorting.
What is a Default constructor?
What is null and void pointer?
Why c++ does not have finally?
How new/delete differs from malloc()/free?