• 20 October

    C Program to print even numbers from 1 to 100

    In this post, we will see how to write C Program to print even numbers from 1 to 100. This post will address below to queries: C Program to print even numbers from 1 to 100 C Program to print even numbers from 1 to n C program to print even numbers from 1 to […]

  • 19 October

    C Program to print odd numbers from 1 to 100

    In this post, we will see how to write C Program to print odd numbers from 1 to 100. This post will address below to queries: C Program to print odd numbers from 1 to 100 C Program to print odd numbers from 1 to n C program to print odd numbers from 1 to […]

  • 19 October

    Matrix Multiplication in C

    In this post, we will see how to do matrix multiplication in C. If we want to multiply two matrices, then number of columns in first matrix must be equal to number of rows in second matrix. If this condition is not satisfied, below program will give you an error message. Here is simple demonstration […]

  • 19 October

    Infix to postfix conversion in C

    In this guide, we will see about Infix to postfix conversion in C. In the computer, all the arithmetic expressions first convert to their postfix from infix. After the conversion, the evaluation will start. Algorithm First, we have to fix the precedence of the expression. To convert the infix expression to its postfix expression, we […]

  • 08 October

    [Solved] lvalue required as left operand of assignment

    In this post, we will see how to solve lvalue required as left operand of assignment in C or C++. Let’s first understand first about the error. When you are using assignment operator(=) in a statement, then LHS of assignment operator must be something called lvalue, Otherwise you will get this error. If LHS does […]

  • 24 December

    Bubble sort in C

    In this post, let’s see how to implement bubble sort in C. Bubble sort, also known as sinking sort,compares adjacent elements and swap them if they are not in correct order. Here is a simple illustration of bubble sort. Above GIF is generated from algorithms app. [crayon-672aad68be032215187006/] Output: Array before sorting: 67 23 45 74 […]