Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

Which of the following option will create a user-defined namespace in ANSI C++?

  Shared By: Shruti Sharma    Date: Dec 15    Category: C++ Programming    Views: 965

Answer:

Options

a) namespace namespace_name{….};
b) namespace(){namespace_name}
c) namespace namespace_name{….}
d) namespace(){namespace_name}

Answer : c) namespace namespace_name{….}

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: