C++ comes with libraries that provide us with many ways for performing input and output. In C++ input and output are performed in the form… Read More

# Tag Archives: CBSE – Class 11

There come situations in real life when we need to make some decisions and based on these decisions, we decide what should we do next.… Read More

All variables use data-type during declaration to restrict the type of data to be stored. Therefore, we can say that data types are used to… Read More

Operators are the foundation of any programming language. We can define operators as symbols that help us to perform specific mathematical and logical computations on… Read More

We are given an array, and we have to calculate the product of an array using both iterative and recursive methods. Examples: Input : array[]… Read More

C++ is a widely used Object Oriented Programming language and is fairly easy to understand. Learning C++ programming can be simplified into: Writing your program… Read More

C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object-oriented and generic programming features. C++ runs on lots of… Read More

Given an array, the task is to find average of that array. Average is the sum of array elements divided by the number of elements.… Read More

Given 4 integers a, b, y, and x, where x can assume the values of either 0 or 1 only. The following question is asked:… Read More

Electronic and Digital systems may use a variety of different number systems, (e.g. Decimal, Hexadecimal, Octal, Binary). A number N in base or radix b… Read More

In programming, sometimes there is a need to perform some operation more than once or (say) n number of times. Loops come into use when… Read More

Problem: Given an array arr[] of n elements, write a function to search a given element x in arr[]. Examples : Input : arr[] =… Read More

Important Terminology Database: Database is a collection of inter-related data which helps in efficient retrieval, insertion and deletion of data from database and organizes the data… Read More

endl and \n both seem to do the same thing but there is a subtle difference between them. cout << endl inserts a new line… Read More