What is setiosflags c++?
No Answer is Posted For this Question
Be the First to Post Answer
Can you use the function fprintf() to display the output on the screen?
Is there a datatype string in c++?How is the memory allocation?
What does h mean in maths?
what is C++ exceptional handling?
Explain unexpected() function?
Explain how we implement exception handling in c++?
What is vector pair in c++?
What is private public protected in c++?
What is a terminating character in c++?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
Does defining a function inline mean that it wont push and pop things on/off the stack ...like parameters and the return the address??
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.