What is Namespace?
Answers were Sorted based on User's Feedback
Answer / saroj das ,balsore
a namespace is a simply declarative region the main purpose
is is to localize the names of identifiers to avoid name
name collisions .
| Is This Answer Correct ? | 9 Yes | 2 No |
Answer / mohamed shafi k k
a namespace is a simply declarative region the main purpose
is to localize the names of identifiers to avoid name
name collisions .
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / kishore
A namespace is a simply declarative region the main purpose
is to localize the names of idetifies.
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / satheeshkumar
a namespace is a simply declarative region the main purpose
is is to localize the names of identifiers to avoid name
name collisions .
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / sandeep mannarakkal
Name space is a global declarative region where name are uniquely getting identified.
it is possible to insert 1) functions 2) variables 3) class/Structure 4) namespaces inside namespace.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the Difference between "C structure" and "C++ structure"?
What and all can a compiler provides by default?
What is capacity in vector in c++?
Explain how the virtual base class is different from the conventional base classes of the opps.
How the V-Table mechanism works?
What is a lambda function c++?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What is #include math h in c++?
What c++ is used for?
Do you need a main function in c++?
A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.
What is jump statement in C++?