C-Assignments
C-Assignments
=========================
1. C Program to Display Fibonacci Sequence
2. C Program to Make a Simple Calculator Using switch...case
3. C Program to Find GCD of two Numbers
4. C Program to Find LCM of two Numbers
5. C Program to Display Character from A to Z Using Loop
6. C Program to Count Number of Digits of an Integer
7. C Program to Reverse a Number
8. C Program to Calculate the Power of a Number
9. C Program to Check Whether a Number is Palindrome or Not
10. C Program to Check Whether a Number is Prime or Not
11. C Program to Display Prime Numbers Between Two Intervals
12. C Program to Check Armstrong Number
13. C Program to Display Armstrong Number Between Two Intervals
14. C Program to Display Factors of a Number
15. C Program to Create Pyramid Structure
16. C Program to Find the Frequency of Characters in a String
17. C program to count the number of vowels & consonants
18. C Program to Remove all Characters in a String Except Alphabet
19. C Program to Find the Length of a String
20. C Program to Concatenate Two Strings
21. C Program to Copy String Without Using strcpy()
22. C Program to Display Prime Numbers Between Intervals Using Function
23. C Program to Check Prime Using User-defined Function
24. C Program to Find the Sum of Natural Numbers using Recursion
25. C Program to Find Factorial of a Number Using Recursion
26. C Program to Find G.C.D Using Recursion
27. C Program to Convert Binary Number to Decimal and vice-versa
28. C program to calculate the power using recursion
29. C Program to Calculate Average Using Arrays
30. C Program to Find Largest Element of an Array
31. C Program to Add Two Matrix Using Multi-dimensional Arrays
32. C Program to Find Transpose of a Matrix
33. C Program to Multiply two Matrices by Passing Matrix to a Function
34. C Program to Access Elements of an Array Using Pointer
35. C Program to Multiply two Matrix Using Multi-dimensional Arrays
36. Write a recursive function to find the sum of n natural numbers.
37.Write a program to calculate power (ab) using recursion.
38. Write a program concatenate two inputted strings without using
strcat().
39. Write a program to check whether a given string is a “palindrome” or
not. E.g. MADAM is an example of palindrome.
40. Write a program to find the sum of two diagonals of a square matrix.
41. Print the series: 3,34,343,3434,34343,……. up to n number of terms.
42. Write a C Program to Find Largest Number from a set of n numbers
Using Dynamic Memory Allocation.