![]() Related Questions Latest Answer : The basic difference in C and C++ structures is :1) In C , default access for structure members is public2) In C++ , defaulot access for structres is private ... Latest Answer : Overloading is related to the use of a function or an operator. For example you can use a function for adding some integers as well as floats so this function is overloaded as it works for two different kind of inputs.
Where as overiding is in the case ... Latest Answer : Arrays have to difine with fixed size it will not grow dynamically , vector size can be increased bydynamically and vectors are synchronized.yaa always right.vector is a standard template library in C++. Vector size can be increased dynamically and stores ... Latest Answer : Calloc:- #include void *calloc(size_t nelem, size_t elsize);The calloc() function allocates space for an array of nelem elements of size elsize. The space is initialized to zero. Malloc:#include void *malloc(size_t size);The malloc() function allocates ... Latest Answer : printf is the standart function in (c) programming language library for printing formatted output.egprintf writes the resulting string to the standard output(remember, Awk has only one output file).So, for example: printf("%sn","jellotHarold!")prints ... Latest Answer : Major Difference:Aggregation - Without whole part can exist.Composition - Without whole part can't exit.Aggregation -
One class is a kind of another class.Composition - One class has another classAggregation - In Design, If you remove "whole" part ... Latest Answer : Sequence diagrams describe interactions among classes in terms of an exchange of messages over time. Collaboration diagrams represent interactions between objects as a series of sequenced messages. Collaboration diagrams describe both the static structure ... Latest Answer : uses and includes are the different avatars of the same concept. uses represents a concept in which one usecases uses the other. So when you invoke the former the latter is always invoked. Extends adds additional functionality, it is used when one ... Latest Answer : There are some differences between Activity Diagram and Sequence Diagram -1)Using Sequence diagram it can be shown how processes execute in sequence; for example what operations are called in what order and what parameter. While using Activity diagram ... Latest Answer : There two ways can passes an argument to subroutine (method).1)call-by-value2)call-by-referencecall-by-value:----------------In this process first method copies the value of an argument in to formal parameters of the subroutine. Therefore any changes ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||