What is c++ mutable?
Discussion on error handling of C++ .
Shall we use 'free' to free memory assigned by new, What are the further consequences??
What is the use of dot in c++?
Is it possible to provide default values while overloading a binary operator?
Briefly describe a B+ tree. What is bulk loading in it?
What are the important differences between c++ and java?
What is c++ array?
C is to C++ as 1 is to a) What the heck b) 2 c) 10
Is recursion allowed in inline functions?
Explain binary search.
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 use of default constructor?