Answer Posted / hrpynux@gmail.com
When a variable is declared as a reference, it becomes an alternative name for an existing variable. A variable can be declared as a reference by putting '&' in the declaration.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we sort map in c++?
Can recursive program be written in C++?
Write a program using shift_half( ) function to shift the elements of first half array to second half and vice versa.
What is function declaration in c++ with example?
What is a template in c++?
Is c++ built on c?
What is a character in c++?
Tell me an example where stacks are useful?
How many types of classes are there in c++?
Explain deep copy and a shallow copy?
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 the differences between the function prototype and the function defi-nition?
Can user-defined object be declared as static data member of another class?
What is the basic concept of c++?
Describe linkages and types of linkages?