chat gpt
Tech News

What is ChatGPT?

GPT (short for “Generative Pre-trained Transformer”) is a type of artificial intelligence model developed by OpenAI. It is a machine learning model that is trained to generate human-like text by predicting the next word in a sequence based on the context of the words that come before it. GPT can be used in a variety […]

What Is C Program

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 […]

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++ 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; […]