What will be the output ?
float f = 10.5;
float p = 2.5;
float* ptr = &f;
(*ptr)++;
*ptr = p;
cout << *ptr << “ “ << f << “ “ << p;
Options
2.5 10.5 2.5
2.5 11.5 2.5
2.5 2.5 2.5
11.5 11.5 2.5


2.5 2.5 2.5

