## 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 …

## 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 …

## 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 …

## Switch Case in C Program to Calculate Area of Circle and Triangle

Introduction to Switch Case in C Switch case in the c programming language is a very important concept. In c programming, it is an alternative to an if-else ladder. In the switch case statement, you have multiple options and you …

## C Language Program to Count the Number of Lowercase Letters in a Text File

Introduction In this post, I am going to write three programs in c language and they are Count Total Lowercase Letters in a Text File. Count Number of Uppercase Letters. C Program to Count Total Lowercase Letters, Uppercase Letters and …

## Program in C to Replace Capital C with Capital S in a File

Introduction This is a very important program written in c. In this c program, we are using the concept of file handling. Because we are performing two operations on the file, i.e. reading a file and writing to the file. …

## C Program to Remove Comments and White Spaces from a File

Introduction In this post, I am going to write a C program to remove comments and white spaces. For this, we must know the basic concepts of file handling in c. Because we will have to open a file, then …

## 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 …