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

Factorial Program in C

Introduction In this factorial program in c, we will read a number from the user and then, we will display its factorial value. So, the question is what is factorial of a number? Factorial of a number is nothing but a multiplication from 1, 2, 3 up to that number. Suppose, I need to find … Read more

Reverse a Number in C

Introduction Before, writing a c program to reverse a number, let’s see the expected output first. In the above output, we have read one number and then display the reverse of that number. 12345 is just a example. User can enter any number of any length. So, I am writing here a program to reverse … Read more

Interview Questions On C

Introduction In this article, you can find more useful interview questions on c programming. If you master all these questions, I can guarantee you that you will definitely get success in all type of c programming interviews. Also Read: The while loop in C Programming So there are thousands of interview questions on c programming. … Read more