Answer Posted / subham chaudhary
A class invariant is a condition that defines all valid states for an object. It is a logical condition to ensure the correct working of a class. Class invariants must hold when an object is created, and they must be preserved under all operations of the class. In particular all class invariants are both preconditions and post-conditions for all operations or member functions of the class.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....
Explain bubble sorting.
Why do we need c++?
Explain the scope of resolution operator.
Write about all the implicit member functions of a class?
the first character in the variable name must be an a) special symbol b) number c) alphabet
How would you use the functions randomize() and random()?
What is meant by iomanip in c++?
What is setbase c++?
Can we specify variable field width in a scanf() format string? If possible how?
What header file is needed for exit(); a) stdlib.h b) conio.h c) dos.h
What are member functions used in c++?
What is the full form of ios?
What is unary operator? List out the different operators involved in the unary operator.
Which format specifier is used for printing a pointer value?