SlideShare a Scribd company logo
//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;
}

More Related Content

Viewers also liked

Is It Soup Yet?
Is It Soup Yet?Is It Soup Yet?
Is It Soup Yet?
Matthew Dyer, MLIS
 
What High-Achieving Nations are Doing
What High-Achieving Nations are DoingWhat High-Achieving Nations are Doing
What High-Achieving Nations are Doing
Center for Global Education at Asia Society
 
Cm reportagens projectos
Cm   reportagens projectosCm   reportagens projectos
Cm reportagens projectosCatia Lopes
 
Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...
Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...
Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...
Agrex-Eco Sp. z o.o.
 
Annual Review 2010 Stillorgan Park Hotel, Dublin
Annual Review 2010 Stillorgan Park Hotel, DublinAnnual Review 2010 Stillorgan Park Hotel, Dublin
Annual Review 2010 Stillorgan Park Hotel, Dublin
Barry Phillips
 
Test anxiety of kurdish efl learners in basic schools in northern iraq
Test anxiety of kurdish efl learners in basic schools in northern iraqTest anxiety of kurdish efl learners in basic schools in northern iraq
Test anxiety of kurdish efl learners in basic schools in northern iraqSelf employed
 
Clase 1
Clase 1Clase 1
Clase 1Sergd
 
Marco de referencia de C4Dx
Marco de referencia de C4DxMarco de referencia de C4Dx
Marco de referencia de C4DxUNICEF
 
Apresentação doutoramento tavares, m. c. p.
Apresentação doutoramento   tavares, m. c. p. Apresentação doutoramento   tavares, m. c. p.
Apresentação doutoramento tavares, m. c. p.
marciatave
 

Viewers also liked (13)

Is It Soup Yet?
Is It Soup Yet?Is It Soup Yet?
Is It Soup Yet?
 
What High-Achieving Nations are Doing
What High-Achieving Nations are DoingWhat High-Achieving Nations are Doing
What High-Achieving Nations are Doing
 
Adab berjiran
Adab berjiranAdab berjiran
Adab berjiran
 
Cm reportagens projectos
Cm   reportagens projectosCm   reportagens projectos
Cm reportagens projectos
 
Daftar bab fix
Daftar bab fixDaftar bab fix
Daftar bab fix
 
Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...
Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...
Nowoczesna technologia w służbie gospodarki odpadami na przykładzie BWiK Wod-...
 
Annual Review 2010 Stillorgan Park Hotel, Dublin
Annual Review 2010 Stillorgan Park Hotel, DublinAnnual Review 2010 Stillorgan Park Hotel, Dublin
Annual Review 2010 Stillorgan Park Hotel, Dublin
 
Test anxiety of kurdish efl learners in basic schools in northern iraq
Test anxiety of kurdish efl learners in basic schools in northern iraqTest anxiety of kurdish efl learners in basic schools in northern iraq
Test anxiety of kurdish efl learners in basic schools in northern iraq
 
Globalization
GlobalizationGlobalization
Globalization
 
LOA 2007
LOA 2007LOA 2007
LOA 2007
 
Clase 1
Clase 1Clase 1
Clase 1
 
Marco de referencia de C4Dx
Marco de referencia de C4DxMarco de referencia de C4Dx
Marco de referencia de C4Dx
 
Apresentação doutoramento tavares, m. c. p.
Apresentação doutoramento   tavares, m. c. p. Apresentação doutoramento   tavares, m. c. p.
Apresentação doutoramento tavares, m. c. p.
 

More from HSS-Software House

Whole c++
Whole c++Whole c++
Class & sub class
Class & sub classClass & sub class
Class & sub class
HSS-Software House
 
Inhertance
InhertanceInhertance
Inhertance
HSS-Software House
 
Parent & child
Parent & childParent & child
Parent & child
HSS-Software House
 
Class with function & objects
Class with function & objectsClass with function & objects
Class with function & objects
HSS-Software House
 
Constructor in detail
Constructor in detailConstructor in detail
Constructor in detail
HSS-Software House
 
C++
C++C++
Claas waqar
Claas waqarClaas waqar
Claas waqar
HSS-Software House
 
Class
ClassClass

More from HSS-Software House (9)

Whole c++
Whole c++Whole c++
Whole c++
 
Class & sub class
Class & sub classClass & sub class
Class & sub class
 
Inhertance
InhertanceInhertance
Inhertance
 
Parent & child
Parent & childParent & child
Parent & child
 
Class with function & objects
Class with function & objectsClass with function & objects
Class with function & objects
 
Constructor in detail
Constructor in detailConstructor in detail
Constructor in detail
 
C++
C++C++
C++
 
Claas waqar
Claas waqarClaas waqar
Claas waqar
 
Class
ClassClass
Class
 

Recently uploaded

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
ShamsuddeenMuhammadA
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
Alina Yurenko
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 

Recently uploaded (20)

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptxText-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
Text-Summarization-of-Breaking-News-Using-Fine-tuning-BART-Model.pptx
 
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)GOING AOT WITH GRAALVM FOR  SPRING BOOT (SPRING IO)
GOING AOT WITH GRAALVM FOR SPRING BOOT (SPRING IO)
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 

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; }