?
How to print the value of the i variable inside namespace B?
How to print the value of the i variable inside namespace B?
namespace A{
int var = 10;
namespace B{
int i = 15;
}
}
namespace A{
int var = 10;
namespace B{
int i = 15;
}
}
Join the Discussion
Login to post a comment or share your explanation.
Login