Swapping of Two Numbers in C

Introduction In this article, we will learn how to write a program for swapping of two numbers in c programming. First of all, we should know, what is the meaning of swapping? Also Read: Switch Case in C Program to Calculate Area of Circle and Triangle Swapping is nothing but interchange. For example, we have … Read more

Strong Number in C

What is Strong Number Before writing a program to find a strong number in c programming, we must know the exact definition of a strong number. A strong number is a number whose sum of the factorial of its digits is equal to that number. Confuse? Let’s take an example. Suppose, we have a number … Read more

C Language Switch Case with Examples

Introduction The switch case in c language is an alternative to if-else ladder. What is the meaning of if-else ladder? See the following example. In the above example, I have written only a small part of the c program. There are so many if-else statements which compare the value of i with different values like … Read more

GCD of Two Numbers in C

Introduction In this post, I will teach you to write a program to find GCD of Two Numbers in C programming. The GCD stands for Greatest Common Divisor. GCD can also be called HCF i.e. Highest Common Factor. Also Read: LCM of Two Numbers in C Programming Before writing a program in c to find … Read more

LCM of Two Numbers in C

Introduction In this post, I will teach you to write a program to find LCM of two numbers in c programming. The LCM stands for Least Common Multiple. Also Read: GCD of Two Numbers in C Programming Before writing a program in c to find LCM of two numbers, let’s know, what is exactly LCM? … Read more