AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
Constructor
1. //Using of Constructor
//Use the same name of function as to class is called constructor
//Note: That constructor are use without creating object
#include<iostream>
using namespace std;
class mudsir{
public:
mudsir(){
cout<<"nnnnThis program is made by Engr Mudasir hussainn";
}
};
main()
{
mudsir nasir;
}