Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C++ Programming
»
References
Which of the following statements is correct? An array of references is acceptable. We can also create a reference to a reference.
Only 1 is correct.
Only 2 is correct.
Both 1 and 2 are correct.
Both 1 and 2 are incorrect.
Correct Answer:
Both 1 and 2 are incorrect.
← Previous Question
Next Question→
More Questions from
References
Which of the following statement is correct?
Which of the following statement is correct?
Which of the following statement is correct?
A reference is declared using the _____ symbol.
Which of the following statements is correct? Once a reference variable has been defined to refer to a particular variable it can refer to any other variable. A reference is not a constant pointer.
Which of the following statements is correct? A reference is not a constant pointer. A referenced is automatically de-referenced.
Which of the following statement is correct?
Which of the following statements is correct? Pointer to a reference and reference to a pointer both are valid. When we use reference, we are actually referring to a referent.
Which of the following statements is correct? Change a reference changes the referent. We can create an array of references.
Which of the following statement is correct about the program given below? #include
int CuriousTabFunction(int m) { m *= m; return((10)*(m /= m)); } int main() { int c = 9, *d = &c, e; int &z = e; e = CuriousTabFunction(c-- % 3? ++*d :(*d *= *d)); z = z + e / 10; cout<< c << " " << e; return 0; }
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments