Basics
On Numbers
- Write a c program to reverse any number. C | C++ | Java | Python
- Write a c program to find out sum of digit of given number. C | C++ | Java | Python
- Write a c program to find out power of number. C | C++ | Java | Python
- Write a c program to add two numbers without using addition operator. C | C++ | Java | Python
- Write a c program to subtract two numbers without using subtraction operator. C | C++ | Java | Python
- Write a c program to find largest among three numbers using binary minus operator. C | C++ | Java | Python
- Write a c program to find largest among three numbers using conditional operator C | C++ | Java | Python
- Write a c program to find out generic root of any number. C | C++ | Java | Python
- Write a c program to find out NCR factor of given number. C | C++ | Java | Python
- How to convert string to int without using library functions in c C | C++ | Java | Python
- Program in c to print 1 to 100 without using loop C | C++ | Java | Python
- C program for swapping of two numbers C | C++ | Java | Python
- Program to find largest of n numbers in c C | C++ | Java | Python
- Split number into digits in c programming C | C++ | Java | Python
- C program to count number of digits in a number C | C++ | Java | Python
- Prime Factor of a Given Number C | C++ | Java | Python
- Write a program to check given number is a prime number or not. C | C++ | Java | Python
- Program to print all the prime numbers in a given range C | C++ | Java | Python
- Program to print prime numbers between 1 to 100 C | C++ | Java | Python
- Program to Print all Prime Numbers less than a given number in comma separated format C | C++ | Java | Python
Questions on Recursion
- Sum of n numbers using recursion in c C | C++ | Java | Python
- Matrix multiplication using recursion in c
- Multiplication using recursion in c
- Lcm using recursion in c
- Using recursion in c find the largest element in an array
- Prime number program in c using recursion
- Decimal to binary conversion in c using recursion
- C program for fibonacci series using recursion
- Reverse a string using recursion
- Write a program for palindrome using recursion
- Find factorial of a number using recursion in c program
- Find gcd of a number using recursion in c program
- Find sum of digits of a number using recursion using cprogram
- Find power of a number using recursion using c program
- Binary search through recurssion using c program
- Reverse a number using recursion in c program
- Write a c program to swap two numbers.
- Write a c program to swap two numbers without using third variable.
- Write a c program for swapping of two arrays.
- Write a c program for swapping of two string.
Conversions
- Write a c program to convert decimal number to binary number.
- Write a c program to convert decimal number to octal number.
- Write a c program to convert decimal number to hexadecimal number.
- Write a c program to convert octal number to binary number.
- Write a c program to convert octal number to decimal number.
- Write a c program to convert octal number to hexadecimal number.
- Write a c program to convert hexadecimal number to binary number.
- Write a c program to convert hexadecimal number to octal number.
- Write a c program to convert hexadecimal number to decimal number.
- Write a c program to convert binary number to octal number.
- Write a c program to convert binary number to decimal number.
- Write a c program to convert binary number to hexadecimal number.
- C program for addition of binary numbers.
- C program for multiplication of two binary numbers.
- C program fractional binary conversion from decimal.
- C program for fractional decimal to binary fraction conversion.
- C program to convert decimal number to roman.
- C program to convert roman number to decimal number.
- C program to convert each digits of a number in words
- C program to convert currency or number in word.
String
- Write a c program to convert the string from upper case to lower case.
- Write a c program to convert the string from lower case to upper case.
- Write a c program to delete the all consonants from given string.
- Write a c program to count the different types of characters in given string.
- Write a c program to sort the characters of a string.
- Write a c program for concatenation two strings without using string.h header file.
- Write a c program to find the length of a string using pointer.
- Write a c program which prints initial of any name.
- Write a c program to print the string from given character.
- Write a Program to remove a Vowel from a String
- Write a c program to reverse a string
- Reverse a string using recursion in c
- String concatenation in c without using strcat
- How to compare two strings in c without using strcmp
- String copy without using strcpy in c
- Convert a string to ASCII in c
Matrix
- Write a c program for addition of two matrices.
- Write a c program for subtraction of two matrices
- Write a c program for multiplication of two matrices.
- Write a c program to find out sum of diagonal element of a matrix.
- Write a c program to find out transport of a matrix.
- Write a c program for scalar multiplication of matrix.
- C program to find inverse of a matrix
- Lower triangular matrix in c
- Upper triangular matrix in c
- Strassen’s matrix multiplication program in c
- C program to find determinant of a matrix
Series
1. Write a c program to find out the sum of series 1 + 2 + …. + n.
2. Write a c program to find out the sum of series 1^2 + 2^2 + …. + n^2.
3. Write a c program to find out the sum of series 1^3 + 2^3 + …. + n^3.
4. Write a c program to find out the sum of given A.P.
5. Write a c program to find out the sum of given G.P.
6. Write a c program to find out the sum of given H.P.
7. Write a c program to find out the sum of series 1 + 2 + 4 + 8 … to infinity.
Arrays
1. Write a c program to find out largest element of an array.
2. Write a c program to find out second largest element of an unsorted array.
3. Write a c program to find out second smallest element of an unsorted array.
4. Write a c program which deletes the duplicate element of an array.
5. Write a c program for delete an element at desired position in an array.
6. Write a c program for insert an element at desired position in an array.
7. C program to find largest and smallest number in an array
Sorting
1. Write a c program for bubble sort.
2. Write a c program for insertion sort.
3. Write a c program for selection sort.
4. Write a c program for quick sort.
5. Write a c program for heap sort.
6. Write a c program for merge sort.
7. Write a c program for shell sort.
Recursion
1. Write a c program to find factorial of a number using recursion.
2. Write a c program to find GCD of a two numbers using recursion.
3. Write a c program to find out sum digits of a number using recursion.
4. Write a c program to find power of a number using function recursion.
5. Write a c program to reverse any number using recursion.
Size of Data types
1. Write a c program to find the size of int without using sizeof operator.
2. Write a c program to find the size of double without using sizeof operator.
3. Write a c program to find the size of structure without using sizeof operator.
4. Write a c program to find the size of union without using sizeof operator.
Using Pointer
1. Write a c program for concatenation two string using pointer.
Searching
1. Write a c program for linear search.
2. Write a c program for binary search.
3. Write a c program for binary search using recursion.
Area and Volume
1. Write a c program to find the area of circle.
2. Write a c program to find the area of any triangle.
3. Write a c program to find the area of equilateral triangle.
4. Write a c program to find the area of right angled triangle.
5. Write a c program to find the area of rectangle.
6. Write a c program to find the area of trapezium.
7. Write a c program to find the area of rhombus.
8. Write a c program to find the area of parallelogram.
9. Write a c program to find the volume and surface area of cube.
10. Write a c program to find the volume and surface area of cuboids.
11. Write a c program to find the volume and surface area of cylinder.
12. Write a c program to find the surface area and volume of a cone.
13. Write a c program to find the volume and surface area of sphere.
14. Write a c program to find the perimeter of a circle, rectangle and triangle.
C programms with very large numbers
1. Write a c program to find factorial of 100 or very large numbers
2. Write a c program to multiply the two very large number (larger the long int)
3. Write a c program for division of large number (larger than long int)
4. C code for modular division of large number.
5. C code for division of large number.
6. C code for power of large numbers.