Function Overloading in C++ Function Overloading in C++ Function overloading is a feature of object-oriented programming where two or more functions can have the […]
Read moreTag: c++
Destructors in C++
Destructors in C++ Destructors in C++ DESTRUCTOR A Destructor is also a special member function like a constructor .Β A destructor destroys the class […]
Read moreBinary Search in C++
Binary Search in C++ Binary Search in C++ #include <iostream> #include <algorithm> using namespace std; int binary_search(int arr[], int size, int target) { int […]
Read moreC++ FIRST PROGRAM
C++ FIRST PROGRAM C++ FIRST PROGRAM #include<iostream.h> using namespace std; int main () { cout<<“Hello World !”; return 0; } […]
Read moreC++ FIRST PROGRAM
C++ FIRST PROGRAM C++ FIRST PROGRAM #include<iostream> using namespace std; int main () { cout<<“hello world”; return; } Topics Covered […]
Read moreFind the day of the week you were born!
// Please enter your birthday in this // format(including spaces): // DD MM YYYY // 22 01 1997 #include <iostream> using namespace std; int […]
Read moreProgram for diamond shape π
#include <iostream> using namespace std; class A { public: Β Β void show() { Β Β Β Β cout << “Diamond pattern: “; Β […]
Read moreWhat is Command Line Interpreter ?
What is Command Line Interpreter ? What is Command Line Interpreter ? A command line interpreter allows the user to interact with a program […]
Read more
Recent Comments