Vidyalelo
C++ Programming · Q108

Functions and Procedures in C++

Programming · C++ Programming · question 108

Q108

What is the correct syntax of defining a namespace?

A.
namespace name{}
Answer
B.
Namespace name{};
C.
Namespace Name{};
D.
typedef namespace name{} NAME

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board