tel me oops defination in single line
Answers were Sorted based on User's Feedback
It is technik give to think of real word in term of object.
| Is This Answer Correct ? | 14 Yes | 7 No |
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; wow *b; a.x = 22; b = &a; a.x = 23; cout << b->x; return 0; }
create a c++ program that will ask 10 numbers and display their sum using array.
What are virtual classes?
write a program to find the largest of two numbers without using for,while,switch,if else, conditional operator and do while using c++ pgmng language
write a program to find 2 power of a 5digit number with out using big int and exponent ?
When will a constructor executed?
You have one base class virtual function how will call that function from derived class?
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
why c++ is a highlevel language
3 Answers Satyam, Tech Mahindra,
What are two types of polymorphism?
What is the difference between the c++ & java?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?