There is no excerpt because this is a protected post.Read More
There is no excerpt because this is a protected post.Read More
C++ programming support generic function and generic classes. Generic function are——> template function.Generic classes are———-> Template Classes. Generic classes: C++ says that you can use same class for multiple data-types but Read More
What is Class? A class is like a blueprint for an object. It is a user defined data type, which holds its own data members and member functions, which can be accessed and used by Read More
(i) By Using Call by Using Value output (ii) Call By Reference: output (iii) Call By Address: outputRead More
void fun(int A[],int n){int i;for(i=0;i<n;i++) { printf("%d",A[i]); }}int main(){int A[5]={2,3,4,5,6};//function callfun(A,5);} Note: we are not passing value of an array to Read More
Q) What is functions ?-> Functions is a piece of code which perform a specific task. Parameter Passing:-(a) pass by value (both in c/c++) (b) pass by address (both in c/Read More
note: size of pointer is 2 byte.conclusion: for normal variable use (.)dot operator to acess.eg: r.length =15; for poiter variable use (->) arrow to acesseg: p->length=20 or (*p).length=20Read More
This is a part of c++ language not in c. -> References are the nick name or alias’s given to a variable. why does we need a reference or a nickname to a Read More
First of all we should know what is program. -> A program is a set of instruction which perform operation on data. so, without data instruction cannot be performed that’s why data is Read More