Question: What is wrong with this fragment of c++ code? int *ptr; *ptr = 25; cout < < *ptr;
What is wrong with this fragment of c++ code?
int *ptr;
*ptr = 25;
cout << *ptr;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
