0% found this document useful (0 votes)
15 views2 pages

C Programming Exercises and Examples

Uploaded by

Ivy
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)
15 views2 pages

C Programming Exercises and Examples

Uploaded by

Ivy
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

C Programs List

[Link] a C Program to print the following paragraph:

“C is a high level programming language that was originally developed by Dennis Ritchie to develop
the unix operating system at AT and T bell lab.”

[Link] a program to take two number as input through keyboard and print their sum, subtraction,
multiplication and division.

3. Write a program to find area and circumference of circle.

[Link] a program to swap two numbers without using third variable.

[Link] a program to input a character and print its equivalent ASCII value.

6. Write a program to convert temperature from degree centigrade to Fahrenheit.

[Link] a program to find entered year is leap year or not.

[Link] a program to create a simple menu driven calculator using switch case.

[Link] a program to check whether entered number is palindrome or not.

[Link] a program to check entered number is prime or not.

[Link] a program to generate Fibonacci series.

[Link] a program to reverse a number.

13. Program to use bitwise AND operator between the two integers.

[Link] to add two number using pointers.

[Link] to find square of a number using functions

16. Write a program to find factorial of number using recursion.

[Link] to show sum of 10 elements of array & show the average.

[Link] to find the maximum no. in an array

[Link] to display a matrix

[Link] to show call by value

[Link] to show call by reference.

[Link] a program to create union.

[Link] a program to create structure.

24. Write a program to create a file and write contents, save and close the file.

[Link] a program to read file contents and display on console.


Data Structure
[Link] to insert elements in array.

[Link] to delete elements of an array.

[Link] to perform matrix multiplication.

[Link] to search elements in array using linear search.

[Link] to perform bubble sort.

[Link] to perform selection sort.

[Link] to create a single linked list

[Link] to create a doubly linked list.

[Link] to delete a node in doubly linked list.

[Link] to insert a node in linked list at beginning, after specified location and at end.

[Link] to push and pop elements in stack

[Link] to insert and delete element in queue.

You might also like