What function initalizes variables in a class:
a) Destructor
b) Constitutor
c) Constructor
No Answer is Posted For this Question
Be the First to Post Answer
How much is c++ certification?
What do you mean by call by value and call by reference?
A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.
What are move semantics?
How would you obtain segment and offset addresses from a far address of a memory location?
What is lazy initialization in c++?
What do you mean by storage classes?
What is a memory leak c++?
Describe the syntax of single inheritance in C++?
How do you find out if a linked-list has an end? (I.e. The list is not a cycle)
What are smart pointers?
Why use of template is better than a base class?