Answer Posted / divyaja
Sometimes, a programmer will want to
define a custom "thing" and the operations
that can be performed on that "thing"
• A class is the definition
• An object is a particular instance of a class
• Classes contain
– data, called members
– functions, called methods
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
List the special characteristics of constructor.
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
How is c++ used in the real world?
Name four predefined macros.
What does the following do: for(;;) ; a) Illegal b) Loops forever c) Ignored by compiler...not illegal
What is :: operator in c++?
Define a pdb file.
What is operators in c++?
There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.
Explain virtual class?
What is c++ in english?
Do you know what are pure virtual functions?
Why is main an int?
Which is most difficult programming language?
What is the difference between equal to (==) and assignment operator (=)?