Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
the idea behind inline functions is to insert the code of a known function at the point where the function is called if done carefully this can
it allows code reusability reusability saves time in program development it encourages the reuse of proven and debugged high-quality software thus
the declaration tells the compiler that at some later point we plan to show the definition of this declarationeg void stars function declarationthe
the free subroutine frees a block of memory lastly allocated by the malloc subroutine undefined results happen if the pointer parameter is not a
as a resource manageras a virtual machine
put the node in the right subtreethen put the root put the node in the left subtree
a class is made abstract by declaring one or more of its virtual functions to be pure a pure virtual function is one with an initializer of 0 in its
a relation schema r is in bcnf with respect to a set f of functional dependencies if for all functional dependencies in f of the form a-gtb where a
by 2 pointers you can find it one of them goes 2 nodes each time the second one goes at 1 node each time if there is a cycle the one that goes 2
polymorphism in c is the idea that a base class can be inherited by various classes a base class pointer can point to its child class and a base
what are the types of container classes in c ans a container class is a class that is used to hold objects in memoryexternal storage a container
if two base classes have no overlapping methods or data they are said to be independent of or orthogonal to each other orthogonal in the sense means
some pure object oriented languages are smalltalk eiffel java
what are the conditions that have to be met for a condition to be an invariant of the classans the condition should hold at the end of each
stack unwinding in c is a process during exception handling when the destructor is known for all local objects the place where the exception was
a class invariant is a condition that describes all valid states for an object it is a logical condition to make sure the correct working of a class
it is an object of a number of classes whose purpose is to indicate that a real object of that class does not exist one common use for a null object
a class that has no functionality of its own is an adaptor class in c its member functions hide the use of a third party software component or an
message in c objects converse by sending messages to each other a message is sent to invoke a method in c method in c gives response to a message
a using declaration in c makes it likely to use a name from a namespace without the scope
an accessor is a class operation that does not change the state of an object in c the access or functions require to be declared as const operations
the standard c library function is removing this is thus one of the few questions in this section for which the answer is not its system-dependent on
on many systems you can describe a function matherr which will be known as when there are certain floating-point errors like errors in the math