What happens when you attempt to compile and run the following code?
#include
using namespace std;
void fun(int*);
int main()
{
int i=2;
fun(&i);
cout<
return 0;
}
void fun(int *i)
*i = *i**i;
Limited Time Offer
25%
Off
Latricia
5 hours ago