## C/C++ Tokens

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 »

- Program to find the Nth Prime Number
- Check whether the triangle is valid or not if angles are given
- Largest and smallest digit of a number
- Minimum steps required to convert the matrix into lower hessenberg matrix
- Find the volume of rectangular right wedge
- Find the character made by adding all the characters of the given string
- Find the sum of the first half and second half elements of an array
- Count the number of occurrences of a particular digit in a number
- Check whether Quadrilateral is valid or not if angles are given
- Find the first N integers such that the sum of their digits is equal to 10
- Minimum number of steps to convert a given matrix into Upper Hessenberg matrix
- Generate an array having Bitwise AND of the previous and the next element
- Find the sum of Eigen Values of the given N*N matrix
- Find the remainder when First digit of a number is divided by its Last digit
- Find the height of a right-angled triangle whose area is X times its base
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Time taken per hour for stoppage of Car
- Find the number which when added to the given ratio a : b, the ratio changes to c : d
- Maximum number of line intersections formed through intersection of N planes
- Find the remaining balance after the transaction

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 »

Array- Basics In C/C++, we can define multidimensional arrays in simple words as array of arrays. Data in multidimensional arrays are stored in tabular form… Read More »

C++ comes with libraries which provides us with many ways for performing input and output. In C++ input and output is performed in the form… Read More »

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. Thus the functionality of C/C++ programming language is incomplete without the use of operators. We can define… Read More »

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

Learning C++ programming can be simplified into: Writing your program in a text-editor and saving it with correct extension(.CPP, .C, .CP) Compiling your program using a… 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… 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 only either 0 and 1 only. The ask is as follows: If ‘x’ is… 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 »

Loops in programming come into use when we need to repeatedly execute a block of statements. For example: Suppose we want to print “Hello World”… Read More »