Untitled
unknown
c_cpp
2 years ago
316 B
5
Indexable
#include <iostream> using namespace std; class Rectangle { private: int length; int breadth; }; void fun() { // By taking a pointer p and // dynamically creating object // of class rectangle Rectangle* p = new Rectangle(); } int main() { // Infinite Loop while (1) { fun(); } }
Editor is loading...