1.

    #include<iostream>    using namespace std;    namespace lfc1    {        double var =30.1234;    }    namespace lfc2    {        double var = 13.5478;    }    int main ()    {        double a;        a = lfc1::var - lfc2::var;        cout << a;        return 0;   }
8.Which of the following is correct option?

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


Discussion

No Comment Found