Browsing tag

C examples

Calculate power of a number using recursion in C language

Calculate power of a number using recursion in C language In this tutorial, we will discuss the concept of  Calculate power of a given number using recursion in C language In this post, we will learn how to  find the power of a given number using recursion in C  language   Program 1 #include <stdio.h>…

Recursion in C programming language

Recursion in C programming language In this tutorial, we will discuss recursion in C programming language A function calling itself during its execution. it is called a recursive function. another word, a function calling from the definition of the same function is known as a recursion   Example of recursive function   The flow of…

C program to find middle among three number using function

C program to find middle among three number using function In this tutorial, we will discuss the concept of C program to find middle among three numbers using function This post describes how to find the middle number among three numbers using if statements in C language There are many ways to find the middle…

C program to Display diamond number pattern using while loop

C program to Display diamond number pattern using while loop In this tutorial, we will discuss the concept of the C program to Display diamond number pattern using while loop In this post, we will learn how to make different diamond number pattern using while loop in C language   We can use for loop,…

Cpp program to Display diamond number pattern using while loop

Cpp program to Display diamond number pattern using while loop In this tutorial, we will discuss the concept of Cpp program to Display diamond number pattern using while loop In this post, we will learn how to create  diamond number pattern using while loop in C++ language   We can use for loop, while loop…

C program:find smallest of three numbers using function

C program:find smallest of three numbers using function In this tutorial, we will discuss the concept of the C program:find smallest of three numbers using function  In this post, we will learn how to find the smallest number among three numbers using a user-defined function in the C programming language   In my previous post,…

C program:find greatest of three numbers using function

C program: find greatest of three numbers using the function In this tutorial, we will discuss a concept of  C program: find greatest of three numbers using the function In this post, we will learn how to find the greatest number  of three numbers using a user-defined function in the C programming language In my…

Display even and odd numbers without if statement in C

Display even and odd numbers without if statement in C In this tutorial, we will discuss the concept of Display even and odd numbers without if statement in C language In this post, we are going to learn how to display even and odd numbers without if statement in C language.   First, we must…