Posts by Rael Mendez • 93 points
1 post
-
9
votes1
answer216
viewsQ: Pointer variable is declared null, but member function performs normally
Below follows an example of the code I’m trying to execute. //main.cpp #include <iostream> using namespace std; class A{ public: A(){} ~A(){} void teste(){ cout << "Teste" << endl;…