0% found this document useful (0 votes)
5 views1 page

C Programming Exercises and Solutions

DSA

Uploaded by

sachitha960
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

C Programming Exercises and Solutions

DSA

Uploaded by

sachitha960
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

Write a C program to calculate factorial of a given number


2. Write a C program to print a pyramid shape

123

12345

3. Write a C Program to Reverse a Number


4. Write a program to check whether the given number is prime or not.
5. Write a C program to make a simple calculator using switch case
6. Write a C program to print Fibonacci series
7. Write a C Program to Display Armstrong Numbers Between 1 to 1000
8. Write a C Program to Find the Largest Element in an Array
9. Write a C Program to Sort the Elements of an Array in Descending Order
10. Write a C Program to Multiply Two Matrices
11. Write a C program to Reverse a String Using Recursion
12. Write a C Program to Find the Sum of Natural Numbers using Recursion
13. Write a C Program to Get a Non-Repeating Character From the Given String
14. Write a C Program to Print the First Letter of Each Word
15. Write a C Program to Generate Multiplication Table

You might also like