answersLogoWhite

0

What are some disadvantages of using namespace in C?

Updated: 12/8/2022
User Avatar

JamesLee9871

Lvl 1
12y ago

Best Answer

Here's one: there's no namespace in C

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are some disadvantages of using namespace in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is Namespace in NET framework?

They are(simply put) the things that you import.... EXAMPLE: VB Import (namespace) C# Using (namespace)


What is the namespaces in Net framework?

They are(simply put) the things that you import.... EXAMPLE: VB Import (namespace) C# Using (namespace)


What is the use of using namespace STD in c plus plus programming?

No, the use of 'namespace std' is not compulsory. You can specifiy it on any object reference. Specifying 'namespace' simply provides a default value. Contrast ... using namespace std; cout << "Hello world!" << endl; ... with ... std::cout << "Hello world!" << std::endl;


In your program what if you do not provide the following directive in your code using namespacestd hint what will you need to do?

If you do not include the directive using namespace stdin your program, any references to objects in namespace std will need be be qualified with that namespace. For instance...cout


How do you solve this error under-fined symbol 'cin'in c plus plus?

#include <iostream> using namespace std;


What is the Logic to print the letters from A to Z without using printf in Turbo C plus plus?

#include<iostream> int main() { using namespace std; char c='A'; do { cout<<c; }while(c++<'Z'); cout<<endl; }


What is naming space in c plus plus?

A namespace is a group of related identifiers.namespace ns {int i;double d;}Inside namespace ns, i and d can be used normally. Outside namespace ns, i is called ns::i and d is called ns::d. To import i into the current scope, say "using ns::i;". To import all identifiers in ns into the current scope, say "using namespace ns;". Namespaces can be nested:namespace ns1 {namespace ns2 {int i;}int i;}The i in namespace ns1 is fully qualified as ns1::i. The i in namespace ns2 is fully qualified as ns1::ns2::i. The two variables are distinct. Inside ns2, i refers to ns1::ns2::i; inside ns1, i refers to ns1::i.


In c plus plus Programming can you replace STDio header with using name space STD?

No. You can't use namespace std even if you include stdio.h. At the very least you must include stddef.h before you can use namespace std.


What are the disadvantages of using c?

There is basically no disadvantage of using a language like C. It depends on the programmer how he uses his skills.


Fundamental components of a c plus plus program?

#include <iostream> using standard namespace std; int main() { cout << "your prob shouldn't be taking c++"; return 0; }


What does the use namespace STD syntax do?

The std namespace is the standard library, which includes many of the common data types, constants, structures, classes and functions that you will use to create C++ programs. There are very few non-trivial C++ programs that do no make use of at least some portion of the standard library at some point. Note that you need only include those portions you actually use; there is no need to include the entire standard library. Any built-in functions that require the standard library will include only as much as they need to, whether you yourself include those portions or not.


What are the advantages and disadvantages of using a DVD storage device?

c