Given that a typedef for IntPtr defines a pointer to an integer, what would be the correct declaration for a function that expects a reference to an integer pointer?
A) void f1 IntPtr& ptr) ;
B) void f1 IntPtr&* ptr) ;
C) void f1 IntPtr*& ptr) ;
D) All of the above
Correct Answer:
Verified
Q18: The size of a dynamic array is
Q19: In the statement cout << *p1;, the
Q20: You can assign an array to a
Q21: If p1 is an integer pointer that
Q22: What is the output of the following
Q24: Which of the following correctly declares a
Q25: What is the output of the following
Q26: Given that p1 is a pointer variable
Q27: Which of the following is not true?
A)
Q28: What is the output of the following
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents