What are the difference between reference variables and pointers in C++?
Answer Posted / hrpynux@gmail.com
Pointers: A pointer is a variable that holds memory address of another variable. ... References : A reference variable is an alias, that is, another name for an already existing variable. A reference, like a pointer, is also implemented by storing the address of an object.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What do you mean by translation unit in c++?
what is scupper?
Define anonymous class.
Explain pass by value and pass by reference.
What is std :: endl?
What is abstraction in c++?
What is the use of data hiding?
Why can’t you call invariants() as the first line of your constructor?
Describe new operator?
What are the different types of polymorphism in c++?
Name the implicit member functions of a class.
what is Member Functions in Classes?
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 are activex and ole?
What is meant by iomanip in c++?