An entity that may vary during program execution is called a variable. Variable names are names given to locations in memory. These locations can contain integer, real or character constants. In any language, the types of variables that it can support depend on the types of constants that it can handle. This is because a […]

In selection sort, we search the entire list for the smallest element(or largest for descending order), and then simply swap that element with the element at the beginning of the list. Again, find the smallest element in the list but, excluding the first element this time. And then swap that with the element at second […]

Here is a small collection of top 10 motivational quotes from all times. Get Inspired. “We can’t escape pain; we can’t escape the essential nature of our lives. But we do have a choice. We can give in and relent, or we can fight, persevere, and create a life worth living, a noble life. Pain […]