In this tutorial, we will learn how to find the total number of subarray with product less than a specific value. For example, lets take a look at the array 9,5,4,7,2. Suppose, we are checking for subarray with product less than 50. We will have the following subarrays :. value
ReadThe structure is a user-defined data type in C. For example, suppose we want to store numbers from 1 to 100. We will use one integer array of size 100. But if we need to store the details of 100 students, each detail will include name, age, and marks for a specific subject, what we will do? To solve such problems, we can use Structure.
ReadIn this C programming tutorial, we will learn how to remove the first node or first item from a linked list. Linked lists are ordered set of elements.Each element is known as a node. Each node contains one or more values and the address of the next node. In the C program below, we are first adding elements or nodes to a linked list. Next, we are deleting the first node from the list. Let's take a look at the below image to learn how nodes are linked to each other :.
ReadIn this tutorial , we will learn how to remove the first character of each word from a string in C. We are going to use two arrays in this program. The first array will hold the user input and the second array will hold the modified final string. Let's take a look into the algorithm first :.
ReadIn this C programming tutorial, we will learn how to print a star or X pattern using start, * or any other character.
ReadIn this C programming tutorial, we will learn how to print a pattern like below :.
ReadIn this C programming tutorial, we will learn how to print from A to Z in an alternative case for each character. For example, if the first character is A, second should be b, the third element should be C etc. That means, it will be like A b C d E f.....To solve this problem, we are going to use the below algorithm :.
ReadIn this tutorial, we will learn how to print a pattern like below using C programming language :.
ReadIn this C programming tutorial we will learn how to insert elements into a linked list and how to traverse through the linked list. The linked list is an ordered list of elements.
ReadIn this C programming tutorial, we will learn how fmod and modf function works, what arguments these functions take and what are the return values. Function fmod is defined as :.
Read