Update appNew update is available. Click here to update.
Topics

Pointers Output

Easy
0/10

Problem statement

What will be the output ?

void increment(int **p){
  (**p)++;
}

int main(){
 int num = 10;
 int *ptr = #
 increment(&ptr);
 cout << num << endl;
}
Options: One or more answers may be correct