10. Write a c program to add two numbers without using addition operator.
11. Write a c program to subtract two numbers without using subtraction operator.
15. Write a c program to solve quadratic equation.
18. Write a c program which passes structure to function.
28. Write a c program which takes password from user.
29. Write a scanf function in c which accept sentence from user.
30. Write a scanf function in c which accept paragraph from user.
L.C.M and H.C.F.
2. Write a c program to find out H.C.F. of two numbers.
Swapping
Conversion
1. Write a c program to convert decimal number to hexadecimal number.
3. Write a c program to convert octal number to decimal number.
4. Write a c program to convert octal number to hexadecimal number.
5. Write a c program to convert hexadecimal number to decimal number.
6. Write a c program to convert hexadecimal number to octal number.
8. Write a c program to convert binary number to hexadecimal number.
9. Write a c program to convert binary number to octal number.
11. Write a c program to convert hexadecimal number to binary number.
12. Write a c program to convert octal number to binary number.
14. Write a c program to convert centigrade to farehnite.
String
3. Write a c program to delete the all consonants from given string.
Matrix
2. Write a c program for subtraction of two matrices
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.
9. Write a c program which concatenate two file and write it third file.
10. Write a c program to find out size of any file.
11. Write a c program to know type of file.
12. Write a c program to know permission of any file.
13. Write a c program to know last date of modification of any file.14. Write a c program to find size and drive of any file.
10. Write a c program to find out size of any file.
11. Write a c program to know type of file.
12. Write a c program to know permission of any file.
13. Write a c program to know last date of modification of any file.14. Write a c program to find size and drive of any file.
Complex number
2. Write a c program for multiplication of two complex numbers.
3. Write a c program for division two complex numbers.
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.
Array
Sorting
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
Size of data type
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
Searching
Area and volume
2. Write a c program to find the area of any triangle.
3. Write a c program to find the area of rectangle.
4. Write a c program to find the area of equilateral triangle.
5. Write a c program to find the area of trapezium.
6. Write a c program to find the area of right angle triangle.
7. Write a c program to find the volume and surface area of cube.
8. Write a c program to find the surface area and volume of a cone.
9. Write a c program to find the perimeter of a circle, rectangle and triangle.
Thanks ashu,very helpfull. but i wish you could have posted this article 5 years back when i was at graduate level.
ReplyDeleteDeepak upadhyay.....
you know one thing i have posted it for our children
ReplyDelete:-)