What Is C Program
C

So, What is C Programming and why should we learn it as a beginner on IT industries?   C is a programming language developed at AT & T’s Bell Laboratories of USA in 1972 by Dennis Ritchie.  it is a general-purpose programming language that is extremely popular, simple, and flexible to use. It is a structured […]

C++-Logo.wine
C++

What is dynamic binding in c++? with example

polymorphism is the ability to use an operator or function in different ways. Polymorphism gives different meanings to the operator or functions. Poly, referring to-many, signifies the many use of these operators and functions. A single function usage in many forms or an operator functioning in many ways can be called polymorphism. For example:- #include<iostream.h> […]

C++-Logo.wine
C++

C++ program to overload ‘+’ operator to find the sum of two complex numbers

#include<iostream.h> #include<conio.h> class add { public: inta,b; add(intr,int i) { a=r; b=i; } add() { } add operator +(add); void disp(); }; add add::operator + (add t1) { add t2; t2.a=a+t1.a; t2.b=b+t2.b; return t2; } void add :: disp() { cout<<” \n RESULT=” <<a<<”and”<<b; } void main() { clrscr(); add pix1(12,4); add pix2(82,4); add pix3; […]

C++-Logo.wine
C++

concept of reusability, How it is achieved in C++?

software re-usability is primary attribute of software quality. C++ strongly supports the concept of  reusability. C++ features such as classes, virtual function, and templates allow designs to be expressed so that re-use is made easier there are many advantage of reusability. They can be applied to reduce cost, effort and time of software development. It […]