Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Active Tutors
Asked Questions
Answered Questions
how does throwing and catching exceptions differ from using setjmp and longjmpans the throw operation calls the destructors for automatic objects
what is the difference between char a string and char p stringans in the first case 6 bytes are assigned to the variable a which is fixed where as
it depends on our requirement when we are needed an integer to be stored in 1 byte means less than or equal to 255 we use short int for 2 bytes we
the real power of arrays comes from their facility of using an index variable to traverse the array accessing every element with the similar
an html tag is a syntactical construct in the html language that abbreviates particular instructions to be implemented when the html script is loaded
a scope resolution operator can be used to describe the member functions of a class outside the class
as the name suggests the function acts as a friend to a class as a friend of a class it can access its private amp protected members a friend
class is a user-defined data type in c it can be formed to solve a particular kind of problem after creation the user require not know the specifics
public protected and private are 3 access specifier in c public data members and member functions are accessible outside the class protected data
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