What is constructor and destructor in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What will happen if when say delete this ?
What is the difference between the parameter to a template and the parameter to a function?
Given an array of size N in which every number is between 1 and N, determine if there are any duplicates in it. You are allowed to destroy the array if you like. [ I ended up giving about 4 or 5 different solutions for this, each supposedly better than the others ].
Explain calling an object's member function(declared virtual)from its constructor?
How do you clear a map in c++?
What is difference c and c++?
What is c++ hiding?
Differentiate between the manipulator and setf( ) function?
Define pure virtual function?
what is a reference variable in C++?
Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.
What is the best it certification?