Select the correct option to test your answer:
More Computer Questions
How many types of Measurement Units we can create in Tally
The data type of the R-object becomes the data type of the . . . . . . . .
Which of the cell pointer indicate that you can move the content to other cell?
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[]) { show(); return 0; }
How many times while loop condition is tested in the following C code snippets, if i is initialized to 0 in both the cases? while (i < n) i++; ————- do i++; while (i <= n);