1.

#include<iostream> using namespace std; namespace lfc { int x = 10; } namespace lfc { int x = 20; } int main () { int x = 30; lfc::x; lfc::x; cout << x; return 0; }10.Which keyword is used to access the variable in the namespace?

A. using
B. dynamic
C. const
D. static
E.
Answer» B. dynamic


Discussion

No Comment Found