tennis
0
Light Poster
Recommended Answers
Jump to Post> This should cause a coredump or crash because it uses an uninitialized pointer
Yes, but normally a static method is called using the class name when it cannot be called on an object.A *a = A::create();
All 4 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
vijayan121
1,152
Posting Virtuoso
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Radical Edward
301
Posting Pro
Ancient Dragon
commented:
Great :)
+28
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.