What Is The Output Of Following Codep Pre Langcpp #264
What is the output of following code?</p> <pre><code class="language-cpp"> int n=10; // global class A() { private : int n; public : int m; A() { n=100; m=50; } void disp() { cout<<”n”<<m<<n; }; </code></pre>
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Class Members & Types - Object Oriented Programming MCQ: Data Members - Quiz No.1.