What is an arraylist c++?
What is operators in c++?
What is using namespace std in cpp?
How can virtual functions in c++ be implemented?
is throwing exception from a constructor not a good practice ?
Can I learn c++ without knowing c?
How is new() different from malloc()?
Explain the isa and hasa class relationships. How would you implement each?
Given the following function definition: int doit(int &x, int y, int &z) { x = 3*x; y = y + 5; z = x+y; return z - 4; } int a = 5, b = 7, c = 9, d = 11; d = doit(a,b,c);
What is unary operator? List out the different operators involved in the unary operator.
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.
How does throwing and catching exceptions differ from using setjmp and longjmp?
What are the differences between the function prototype and the function defi-nition?