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 the use of typedef?
Explain the volatile and mutable keywords.
Why the usage of pointers in C++ is not recommended ?
Explain function overloading and operator overloading.
Is recursion allowed in inline functions?
What is the use of cmath in c++?
Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort
Why is c++ called oops?
What does int * mean in c++?
What is ctime c++?
What is the difference between while and do while loop?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300
What is DlgProc?
What is c++ code?
How do you generate a random number in c++?