Consider the code segment given, what should be inserted instead of dash (----) so that ptr points
Fantastic news! We've Found the answer you've been seeking!
Question:
Consider the code segment given, what should be inserted instead of dash (----) so that ptr points to value 10.
void A(int **p){
*p=new int;
**p=10;
}
void B(){
int *ptr=NULL;
A(----);
}
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Posted Date: