0
Declare a class "test" with a "foo()" public member function and declare a pointer "myPtr" to "test" and call "foo()" via the po
Fill in the blanks to declare a class "test" with a "foo()" public member function. Declare a pointer "myPtr" to "test" and call "foo()" via the pointer. class test{ ___: void foo() { } {; ___myPtr=new test(); myPtr___foo();
23 Réponses
+ 1
Nikil,
public
test*
->
Answered question
0
How about trying the code in code playground and learning a bit from compiling?
0
submit it as a quizz
menu (three dots) quizz factory
0
Public
test
.
0
Nikil, is not test, is test*, is no.
0
Nikil,
public
test*
->
Answered question
0
public
test*
->
0
public
test*
->
0
class test{
public
:
void foo() {
}
};
test*
myPtr = new test();
myPtr
->
foo();
0
class test{
public
:
void foo() {
}
};
test*
myPtr = new test();
myPtr
->
foo();
0
class test{
public
:
void foo() {
}
};
test*
myPtr = new test();
myPtr
->
foo();
0
Fill in the blanks to make ''foo'' a pure virtual function:
void foo()
0; ansaer
0
class test{
public
:
void foo() {
}
};
test*
myPtr = new test();
myPtr
->
foo();
0
wow
0
Public
test*
->
0
answer is public, test*, and ->.
0
answer is
public
test*
->
0
fill in the blanks to declare a class "test" with a "foo()" public member function. declare a pointer "myptr" to "test" and call "foo()" via the pointer.
ANSWER:-
Public
Test*
->
0
the process of creating an object of a class is called:
ANSWER:-
Instantiation
0
what are the three core languages in web pages?
ANSWER:-
CSS
HTML
JAVASCRIPT