/******************************************************************************
Online C++ Compiler.
Code, Compile, Run and Debug C++ program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <iostream>
using namespace std;
class Toto
{
public:
int DoIt(int a) { return a + 1; }
};
int main()
{
Toto* p = nullptr;
cout << p->DoIt(9) << endl;
return 0;
}