C++ OOPS Multiple Choice Questions And Answers
Are you preparing for the next job interviews? If yes, trust me this post will help you also we'll suggest you check out a big collection for Programming Full Forms that may help you in your interview:
List of Programming Full Forms
- Using Virtual function
- Using Templates
- Using Inheritance
- Both 1 and 3
- //comment
- /*commont*/
- Both 1 and 2
- #comment
- Friend Function
- Virtual Function
- Static Function
- Inline Function
int main() { int a=10; cout<<a++; return 0; }
- 10
- 11
- 0
- Error
int main()
{
int a, b=20;
a = 90/b;
return 0;
}
- 4
- 4.5
- 4
- Error