All C programs

C program examples



This post consists a big collection of examples of c program. If you have any doublt in the following c program examples you are free to ask.


Frequently asked c programs in interview

L.C.M and H.C.F.

Swapping

Conversion ( Number System )

6. Write a c program to convert octal number to hexadecimal number.
8. Write a c program to convert hexadecimal number to octal number.
9. Write a c program to convert hexadecimal number to decimal number.
10. Write a c program to convert binary number to octal number.


Conversion ( Unit )


String

3. Write a c program to delete the all consonants from given string.
Matrix

File

2.  Write a c program to delete a file.
3. Write a c program to copy a file from one location to other location.
6. Write a c program which writes string in the file.
Complex number
3. Write a c program for multiplication of two complex numbers.
4. Write a c program for division two complex numbers.

Series

6. Write a c program to find out the sum of given H.P.
Array

Sorting

5. Write a c program for heap sort.
7. Write a c program for shell sort.

Recursion

Size of data type

Using pointer

Searching

Area and volume

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.           
14. Write a c program to find the perimeter of a circle, rectangle and triangle.


C program 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.


Other


1. C program for ATM transaction.

No comments:

Post a Comment

Thank for visting this blog . Please Pass on this information to all of Our friends to utilize this oppurtunity.