MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers in Technical MCQs
→
The use of Namespace is to structure a program int..
1.
The use of Namespace is to structure a program into logical units?
A.
TRUE
B.
FALSE
C.
May Be
D.
Can't Say
Answer» B. FALSE
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
<pre class="result notranslate"> #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; }</pre>10.Which keyword is used to access the variable in the namespace?
<pre class="result notranslate"> #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; }</pre>9.Which of the following is correct option?
<pre class="result notranslate"> #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; }</pre>8.Which of the following is correct option?
<pre class="result notranslate">#include<iostream>using namespace std;namespace lfc1{ int var = 30;}namespace lfc2{ double var = 13.5478;}int main (){ int a; a = lfc1::var + lfc2::var; cout << a; return 0; }</pre>7.Which of the following is correct option?
Which of the following is correct option?
The use of Namespace is to structure a program into logical units?
Which operator is used to signify the namespace in c++?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply