সম্পাদনা
#include <iostream> #include <string> using namespace std; class User { public: string name = "আরিফ"; string land = "বাংলাদেশ"; }; int main() { User* user = new User(); cout << user->name << endl; cout << user->land; delete user; return 0; }
পূর্বরূপ