Answer Posted / narayan prajapati
Constructor is What?
Example(Constructing Builings Or in our programing Builing
Programs)
1.It Should Have Same Class Name eg.(Fun)& Function Name eg.
(Fun)And Pass Suitable Parameters
2.Its Function Doesn't Return Value.
3.When Object is Initialize,it Directly Call.
4.constructor Works First & then When main Function work
completed the Destructor Come to work,And Clear the
Previous Data.
5.while Initializing parameters in main function,we Should
take Care Of Constructor Function Parameters eg.(If 2
parameters Are pass in constructor function then is
necessary to pass 2 parameters in main function,if not it
Will Send An Error!)
| Is This Answer Correct ? | 8 Yes | 4 No |
Post New Answer View All Answers
write a program to convert a decimal number in to its equivalent binary number?
Define stl.
What is a stl vector?
What are stl algorithms?
sir please send me bpcl previous question papers
How do you convert stl to steps?
What does stl stand for in basketball?
Can we use stl in coding interviews?
draw a flowchart that accepts two numbers and checks if the first is divisible by the second.
Describe how to safeguard a system through acquisition of an antivirus Program and systematic backup.
How connect plc and pc through software
i wanted to know about questions about c,c++ , which is required for placements.... im a fresher
Is string part of stl?
Explain stl.
Name the different types of stl containers.