Debugging exercises 9.3 OOP
#include<bits/stdc++.h>
using namespace std;
int main()
{
int p=10;
double q=20.33;
int *x=&p;
double *y=&q;
// y=&p;
// x=&q;
cout<<p<<" "<<q<<endl;
return 0;
}
Debugging exercises 9.3 OOP
#include<bits/stdc++.h>
using namespace std;
int main()
{
int p=10;
double q=20.33;
int *x=&p;
double *y=&q;
// y=&p;
// x=&q;
cout<<p<<" "<<q<<endl;
return 0;
}
0 Comments