Program on numbers
- Factorial of a number:
- Fibonacci series:
- ASCII value:
- Even/Odd number:
- Prime number:
- Swapping:
- Conversion of binary to decimal and decimal to binary
- Reverse of a number:
- C program to check whether the given number is Armstrong number or not.
- C program to find HCF of two numbers.
- C program to find LCM of two numbers.
- C program to find greatest numbers from given three numbers.
- C program to find whether the given year is Leap year or not.
- C program to check whether input character is vowel or consonant.
- C program to multiply two numbers using plus operator.
- C program to check given number is self-descriptive number or not.
- C program to print tables of any number.
- C program to calculate sum of digits.
- C program to find maximum difference between two elements such that larger element appears after the smaller number
- Write a C program to perform arithmetic operations on two numbers using switch case.
Program on string
- C program to check whether the given string is Palindrome or not.
- C program to count number of blank space in a string.
- C program to count number of words in a string.
- C program to print length of string using user defined function.
- C program to reverse a string without using string function.
- C program to copy one string into another without using strcpy().
- C program to concatenate two string without using strcat().
Programs of arrays
- Write a program to accept N numbers and arrange them in ascending order.
- C Program to Sort Words in Lexicographical Order (Dictionary Order)
Programs on pattern
- C program to print horizontal line (***************************************).
- C program to print below pattern
123456****************************** - C program to print below pattern
123451 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 51 2 3 4 5 - C program to print below pattern
12345A B C D EA B C D EA B C D EA B C D EA B C D E - C program to print below pattern
123455 5 5 5 54 4 4 4 43 3 3 3 32 2 2 2 21 1 1 1 1