C simple programs
Posted by admin at July 2, 2021
C is a powerful general-purpose programming language. It can be used to develop software like operating systems, databases, compilers, and so on. C programming is an excellent language to learn to program for beginners.
Bellow is some c general problems try to solve them.
- C program to print Hello World.
- C program to check whether the given number is positive or negative
- Reverse an input number using recursion
- Program to find greatest of three numbers
- C Program to print Fibonacci series in a given range
- C Program to find factorial of a given number
- Find Prime numbers in a given range
- C Program to check if given number is Armstrong or not
- C Program to check if given number is palindrome or not
- C program to display palindrome numbers in a given range
- C Program to check if number is odd or even
- C Program to find out the ASCII value of a character
- C Program to find the size of int, float, double and char
- C Program to check whether an alphabet is vowel or consonant
- C Program to check leap year
- C Program to find sum of first n natural numbers
String Programs
- Program to convert string from upper case to lower case
- Program to convert string from lower case to upper case
- Sort a set of strings in ascending alphabetical order
- Find length of a string without using strlen()
- String concatenation without using strcat
- Reverse a String using recursion
Array Programs
- Program to sort array in ascending order
- Find largest element of given array
- C program to find sum of array elements
- C Program to find number of elements in an array
Sorting programs
- Bubble sort program in C
- Insertion sort program in C
- Selection sort program in C
- Quicksort program in C
C Pointer programs
- C program to find the largest of three numbers using Pointers
- C program to count vowels and consonants in a String using pointer
- C program to print String using Pointer
- C program to swap two numbers using pointers
- C program to create initialize and access a pointer variable
Programs on calculation
- Find the value of nPr for given value of n & r
- Find the value of nCr for given value of n & r
- C Program to multiply two floating numbers
- C Program to find out Quotient and Remainder
- C Program to find average of two numbers
Number system conversion programs
- Binary to decimal conversion
- C Program to convert Decimal to Binary
- C Program to convert Decimal to Octal
- C Program to convert Octal to Decimal
- C Program to convert Binary to Octal
- C Program to convert Octal to Binary
Programs to find out areas of Geometric figures
- C program to find area and circumference of circle
- C program to find area of equilateral triangle
Related
Comments