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

What will be the output ?

Easy
0/10

Problem statement

int a = 10;
int *p = &a;
int **q = &p;
int b = 20;
*q = &b;
(*p)++;
cout << a << " " << b << endl;
Options: One or more answers may be correct