MCQOPTIONS
Bookmark
Saved Bookmarks
→
Technical MCQs
→
2D Transformation And Answers
→
Which of the following is correct option?
1.
Which of the following is correct option?
A.
43.5478
B.
43
C.
44
D.
30
Answer» C. 44
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
#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?
#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?
#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?
#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; }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
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies