Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
explain the class invariant- its a condition that ensures correct working of a class and defines all the valid states for an object- when an object
what is namespace and explicit container namespace- namespaces are used to group entities such as objects classes and functions under a nameexplicit
determine the types of container class container class can be of 2 types- heterogeneous container - here container class comprise a group of mixed
describe about the container class-class to hold objects in external storage or memory it acts as a generic holder- it has a predefined behaviour and
what is the difference between structure and class- members of structures are public while those of a class are private- classes provide data hiding
what is the use of default constructor- its a constructor that doesnt accept any parameters- if there is no user-defined constructor for a class
what are the benefits of using friend classes- friend classes are useful when a class wants to hide features from users which are required only by
explain one-definition rule odraccording to one-definition rule c constructs should be identically defined in each compilation unit they are used
where are longjmp and setjmp used in c-setjmp and longjmp must not be used in c- longjmp jumps out of the function without unwinding stack this means
how must runtime errors be handled in c- runtime errors in c can be handled using exceptions- this exception handling mechanism in c is developed to
does improper inheritance have a potential to wreck a projectmany projects meet a dead end due to bad inheritance hence it certainly has potential to
explain the terms- substitutability and extensibility substitutability - the objects of a properly derived class can be safely and easily substituted
what is the real function of class - to export datano real purpose of a class isnt to export data instead its to provide services class provides a
what is abstraction- simplified view of an object in users language is termed as abstraction- its the simplest well-defined interface to an object in
q explain that how do we implement two stacks in one array a1n in such a way that neither the stack overflows unless the total number of elements in
i have a project in bddbinary decision diagram where i have to use bdd libraryi m using cudd package which uses bdd techniquei download cudd
include ltiostreamhgt include ltiomaniphgt include ltstringhgt includeltconiohgt includeltstdiohgt class
an experiment succeeds twice as often as it fails find the chance that in the next six trials there will be at least four
write a c program to find the sum of 0123 103 and 0456 102 and write the result in three significant
develop a c program for linux calledpipesc that does the followingin the main function it creates a pipe using the pipe function then creates two
write a haskell program that calculates a balanced partition of n items where each item has a value between 0 and k such that the difference between
write a program in cc using nested if statement for calculating the average marks and grades of 5