What will be the output ?
void square(int *p){ int a = 10; p = &a; *p = (*p) * (*p); } int main(){ int a = 10; square(&a); cout << a << endl; }