Can the creation of operator** is allowed to perform the to-the-power-of operations?
No Answer is Posted For this Question
Be the First to Post Answer
Is there any difference between dlearations int* x and int *x? If so tell me the difference?
What do you mean by translation unit in c++?
Discuss the possibilities related to the termination of a program before entering the mainq method?
Will a catch statement catch a derived exception if it is looking for the base class?
What are the manipulators in c++?
Write is a binary search tree? Write an algo and tell complexity?
How to demonstrate the use of a variable?
What is pair in c++?
What is object in c++ wikipedia?
Explain rethrowing exceptions with an example?
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.
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 ].