What does namespace mean in c++?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

Explain this pointer?

0 Answers  


Difference between overloaded functions and overridden functions

0 Answers  


How a new operator differs from the operator new?

0 Answers  


Are vectors faster than arrays?

0 Answers  


How do you write a function that can reverse a linked-list?

0 Answers  






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.

1 Answers  


Is c++ a software?

0 Answers  


What issue do auto_ptr objects address?

2 Answers  


Describe private, protected and public – the differences and give examples.

0 Answers  


Which programming language is best?

0 Answers  


Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);

0 Answers  


What is an adjust field format flag?

0 Answers  


Categories