A programming algorithm is a computer procedure that is a lot like a recipe (called a procedure) and tells your computer precisely what steps to take to solve a problem or reach a goal. Algorithms play an important role in the…
The most asked questions in TCS/ Wipro/Infosys and other MNC. Palindrome: A string is called palindrome if its reverse of the string is the same as the original string. For Example: "GEEG", "LOOL","AABBBAA".
Exception is an abnormal behavior of the program during runtime. It will occur when the user gives input to the program something that is out of the scope.
A template is keyword in C++ that is used to make your function or class generalize as far as the data type is a concern. Template keyword used before function and class.
A class is an abstract class if it will contain at least one virtual function. We can't create the object of the Abstract class because if we create the object of the abstract then we can also call the function of virtual that is virtual function has no definition. To stop the calling of virtual function c++ can create rule that is we cannot create an object of the abstract class.
A virtual function is a member function of the parent class that is defined by using the "virtual " keyword. These functions derived by the child class and call by the pointer or object of the parent class. And execute the derived class of the function.
For self-starters interested in technology, there have never been so many options for free online education List Of Best Resources for Online Learning Competitive Programming HackerRank provides you a good platform to solve coding problems with inbuilt compiling and execution…
Most asked question of MNC interview is Pattern(Half Pyramid,Full Pyramid,Inverted Pyramid).Here we add program with explanation.
Sorting Algorithm is an algorithm that can be used to arrange our data. These data are any type. Data can be either arranged in ascending order or descending order. In Computer Science, play an important role to make our application…
Selection Sorting work as arranging array data selecting one by one. In an unsorted array, search for the minimum value of the element and put it in the beginning and swap with the first element.