Scope Resolution Operator | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Scope Resolution Operator

I'm having trouble with one question: Create a function called ''test'' belonging to a class called ''demo''. :: () { } make test function demo class : these are the words to drag and drop, can someone give me a hand on what I'm doing wrong?

25th May 2017, 4:18 PM
Paulo Miranda Jr
Paulo Miranda Jr - avatar
1 Answer
+ 1
your post is not clear. so I think it might be something like this : class demo { test(); } demo::test();
25th May 2017, 4:38 PM
Bahhaⵣ
Bahhaⵣ - avatar