1.

#include<iostream> using namespace std; namespace lfc1 { int x = 10; } namespace lfc2 { int x = 20; } int main () { int x = 30; lfc1::x; lfc2::x; cout << x; return 0; }9.Which of the following is correct option?

A. 30
B. 20
C. 10
D. Compile Error
Answer» E.


Discussion

No Comment Found