Select the correct option to test your answer:
More Computer Questions
How do you install a Ruby Gem?
By default, collector's listen on port . . . . . . . .
A ______ is sent to a customer when he returns the goods
Which algorithmic technique does Fibonacci search use?
What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class B { int b; public: B(){} B(int i){ b = i; } int show(){ return b; } }; class C { B b; public: C(int i){ b = B(i); } friend void show(){ C c(10); cout<<"value of b is: "<<c.b.show()<<endl; } }; int main(int argc, char const *argv[]) { C c(1); c.show(); return 0; }