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

## 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 can select one of them. Also read: Switch Case in C Formulae Used in this … Read more

## 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 Digits in a Text File. Here, I am explaining the first program in detail. The … Read more

## 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. Also Read: C Language Program to Count the Number of Lowercase Letters in a Text … Read more

## 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 read a file character by character. Next, we will check whether that character is white … 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