https://youtu.be/aA1eXbbE9g8?si=cQxPodkm2DLpG9CM #include <iostream> using namespace std; class MyClass { public: int x, y; MyClass(int a, int b) { x = a; y = b; } }; int main() { MyClass…
https://youtu.be/H60O0oC0YKA?si=DkMelXXiDFHwsxzk #include <iostream> using namespace std; int main() { int *ptr = new int; *ptr = 100; cout << "The pointed to value is :" << *ptr << endl; delete…
https://youtu.be/WS9IabM4Vtw?si=pSq5hHz-tCWLEQf8 #include <iostream> using namespace std; void myfunc(); int myfunc2(int x); int myfunc3(int x, int y); int myfunc4(int, int); int main() { return 0; }