Select the correct option to test your answer:
More Computer Questions
What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class A { float d; public: int a; void change(int i){ a = i; } void value_of_a(){ cout<<a; } }; class B: public A { int a = 15; public: void print(){ cout<<a; } }; int main(int argc, char const *argv[]) { B b; b.change(10); b.print(); b.value_of_a(); return 0; }
How many columns are used for grid system by bootstrap?
Programs such as Mozilla Firefox that serve as navigable windows into the Web are called ........
What is the full form of RTF?
What will be the output of the following C++ code? #include <iostream> using namespace std; void copy (int& a, int& b, int& c) { a *= 2; b *= 2; c *= 2; } int main () { int x = 1, y = 3, z = 7; copy (x, y, z); cout << "x =" << x << ", y =" << y << ", z =" << z; return 0; }