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

Perfect Number in C Programming

What is Perfect Number? A perfect number is the sum of all those numbers which are divisors of that number. For example, 6 is the perfect number. How? Divisors of 6 are 1, 2, 3, and 6. But we don’t have to consider 6 as a divisor here. Therefore, the sum of 1, 2 and … Read more