#include <iostream.h>
#include<conio.h>
class myclass
{
int i;
public:
void read (int j)
{
i= j;
}
int getint ()
{
return i;
}
};
void main()
{ clrscr();
myclass, *objectpointer;
objectpointer=&ob;
objectpointer->read(10);
cout<<"objectpointer->getint";
getch();
}
Answers
Answered by
1
Answer:
no no no i got the link came in this game you are
Answered by
1
Answer:
#include <iostream.h>
#include<conio.h>
class myclass
{
int i;
public:
void read (int j)
{
i= j;
}
int getint ()
{
return i;
}
};
void main()
{ clrscr();
myclass, *objectpointer;
objectpointer=&ob;
objectpointer->read(10);
cout<<"objectpointer->getint";
getch();
}
Similar questions
India Languages,
1 month ago
English,
1 month ago
CBSE BOARD X,
2 months ago
Social Sciences,
2 months ago
English,
9 months ago
Environmental Sciences,
9 months ago
English,
9 months ago