C++ Program to calculate Determinant of a Matrix #include<iostream> #include<math.h> using namespace std; int matrix_determinant( int matrx[10][10], int n) {
Continue readingCategory: C++
C++ Program to Implement Merge Sort
Program to Implement Merge Sort #include <iostream> using namespace std; void Merge(int *arr, int first, int last, int mid) {
Continue readingC++ Program to Perform Conversion from Celsius to Fahrenheit or Fahrenheit to Celsius
#include<iostream> int main() { float temp,conv_result; int choice; std::cout<<“Conversion of Temperature From ” << “\n 1.Celcius to Fahrenheit”; std::cout<<“\n 2.Fahrenheit
Continue readingCaesar Cipher Encryption & Decryption in C and C++
Caesar Cipher:- Caesar cipher is one of the earliest known and simplest ciphers. It is a type of replacement cipher
Continue reading‘this’ pointer in C++
C++ uses a unique keyword called “this” to represent an object that invokes a member function. ‘this‘ is a pointer
Continue readingWhat Is Memory leak in C++ and How to avoid it?
This happens when the programmers allocate memory to the heap for some temporary use and then forget to delete it
Continue readingObject Slicing in C++ with examples
Object Slicing :- Object slicing occurs when a derived class object is assigned to a base class object when an
Continue readingWhat are Characteristics Of Constructors in C++
Characteristics of constructors are below:- These are called automatically when the objects are created. All objects of the class having
Continue readingwhat is Copy Constructor in C++?
Copy Constructor:- It is of the form classname (classname &) and used for the initialization of an object form another
Continue readingWhat is difference between Call by Value and Call by reference?
Call by Value: – In this method the values of the actual parameters (appearing in the function call) are copied
Continue reading