Skip to content

Tag Archives: CBSE – Class 11

Given a string and the task is to count vowels, consonant, digits and special character in string. Special character also contains the white space.Examples:   Input… Read More
What is a Flowchart? Flowchart is a graphical representation of an algorithm. Programmers often use it as a program-planning tool to solve a problem. It makes… Read More
Prerequisite : Functions in C/C++ A function in C can be called either with arguments or without arguments. These function may or may not return… Read More
Given an array, write functions to find the minimum and maximum elements in it.  C++ // CPP program to find minimum (or maximum) element //… Read More
Unicode is a universal encoding system to provide a comprehensive character set and was created by the Unicode Consortium (a group of multilingual software manufacturers).… Read More
The useful input/output manipulators are std::setbase, std::setw and std::setfill. These are defined in and are quite useful functions.   std::base : Set basefield flag; Sets the… Read More
Given a 2D square matrix, find the sum of elements in Principal and Secondary diagonals. For example, consider the following 4 X 4 input matrix. … Read More
As the name suggests the name constants are given to such variables or values in C/C++ programming language which cannot be modified once they are… Read More
Error is an illegal operation performed by the user which results in abnormal working of the program. Programming errors often remain undetected until the program is… Read More
Given a string, count the total number of vowels (a, e, i, o, u) in it. There are two methods to count total number of… Read More
Unary operator: are operators that act upon a single operand to produce a new value. Types of unary operators: unary minus(-) increment(++) decrement(- -) NOT(!)… Read More
A token is the smallest element of a program that is meaningful to the compiler. Tokens can be classified as follows:   Keywords Identifiers Constants Strings… Read More
In general, the scope is defined as the extent up to which something can be worked with. In programming also the scope of a variable… Read More
Given a string, write a function that converts it either from lower to upper case or from upper to lower case using the bitwise operators… Read More
Prerequisite: Arrays in C/C++ A multi-dimensional array can be termed as an array of arrays that stores homogenous data in tabular form. Data in multidimensional… Read More

Start Your Coding Journey Now!