4.11

#include <iostream>
#include <string>

using namespace std;

class SimpleFunctor {
    string name_;
public:
    SimpleFunctor(const char *name) : name_(name) {}
    void operator()() {  cout << "Salom, " << name_ << " ishlar zoʻrmi!" << endl; }
};

int main() {
    SimpleFunctor sf("Akbar");
    sf(); 
	system("pause");
	return 0;
}
Run on cpp.sh