SlideShare a Scribd company logo
1 of 17
Download to read offline
1-D Array Programs in c 
1. Find the sum of two one-dimensional arrays using Dynamic Memory 
Allocation 
2. Stack PUSH & POP Implementation using Arrays 
3. Program to remove duplicate element in an array 
4. C Program to sort the matrix rows and columns 
5. Write a c program for swapping of two arrays 
6. C Program to read name and marks of students and store it in file 
7. To find out the maximum number in an array using function 
8. Operation on array in C 
9. To insert a given number in the array using C 
10. Highest and lowest number in array using C 
11. Average of an array element in C 
12. To Create an array in C 
13. Initializing an array in declaration 
14. Initializing an array using for loop 
15. Use scanf to read data into array 
16. Get Address of an array using Arrays and Pointers 
17. Accessing an array using pointers 
18. Merging of two sorted lists 
19. Inverse of the list 
click on programs 
for view 
scanftree.com 
Digitally signed by ankits-PCankits 
DN: cn=ankits-PCankits 
Date: 2014.09.26 16:51:42 +05'30'
20. Addition of the elements of the list 
21. Address of each element in an array 
22. Arrays of strings 
Algorithm Implementation in c 
1. C Program to implement Huffman algorithm 
2. C Program to implement An activity selection problem 
3. C Program to implement Bellman-ford Algorithm 
4. C Program to solve Knapsack problem 
5. C Program to implement Breadth First Search (BFS) 
6. C program to implement Depth First Search(DFS) 
7. C program to create a subsets using backtracking method 
8. C Program to search the perticulur pattern in the string using Horspool 
method 
9. C Program to find a minimum spanning tree using Prim’s algorithm 
10. C program to cyclically permute the elements of an array 
11. C Program to solve N Queen’s problem 
12. C Program to implement Floyd’s Algorithm 
13. C Program to implement Warshall’s Algorithm 
14. Chess Board using DDA line drawing algorithm 
15. Moving Wheel using Mid-Point Circle algorithm and DDA Line 
algorithm
16. Draw a Ellipse : Mid-Point Algorithm 
17. Draw a Line : DDA Line Drawing Algorithm 
18. Draw a Line : Bresenham’s Line Drawing Algorithm 
19. Draw a Circle : Mid-Point Algorithm 
20. Draw a Circle : Bresenham’s Circle Algorithm 
21. C program for bankers algorithm 
22. C Program to implement CRC (Cyclic Redundancy Code) 
23. To implement Tower Of Hanoi using C 
24. Implementation of Bit stuffing Using C 
25. Implementation of CHECKSUM 
26. Implementation of Hamming Code 
Array in c 
1. Find the sum of two one-dimensional arrays using Dynamic Memory 
Allocation 
2. Stack PUSH & POP Implementation using Arrays 
3. Program to remove duplicate element in an array 
4. C Program to sort the matrix rows and columns 
5. Write a c program for swapping of two arrays 
6. C Program to read name and marks of students and store it in file 
7. To find out the maximum number in an array using function 
8. Operation on array in C
9. To insert a given number in the array using C 
10. Highest and lowest number in array using C 
11. Average of an array element in C 
12. To Create an array in C 
13. Initializing an array in declaration 
14. Initializing an array using for loop 
15. Use scanf to read data into array 
16. Get Address of an array using Arrays and Pointers 
17. Accessing an array using pointers 
18. Merging of two sorted lists 
19. Inverse of the list 
20. Addition of the elements of the list 
21. Address of each element in an array 
22. Arrays of strings 
Conversion in c 
1. C program to convert binary to octal 
2. C code to convert decimal to hexadecimal 
3. C code for decimal to octal converter 
4. Program to convert decimal to binary in c 
5. Convert a binary number to decimal number in C
6. Convert a decimal number to hexadecimal number in C 
7. To convert a decimal number to binary number in C 
Data structure in c 
1. Perform Tree Operations – insert, traversal, preorder,post order and in 
order 
2. c program to Create a Tree 
3. Stack PUSH & POP Implementation using Arrays 
4. Implement stack and perform push, and pop operations 
5. C Program to sort a linked list 
6. Stack Programs 
7. Doubly linked list Programs 
8. Queues Programs 
9. Circular Linked List Programs 
10. Singly Linked List Programs 
11. To create a doubly link list using C 
12. count the number of nodes in a link list using C 
13. To create a singly link list using C 
Date and Time in c 
1. Show the ticking of Clock
2. Time functions in c 
3. To compute the seconds from a given age using C 
Decision and Loops in c 
1. Perform Tree Operations – insert, traversal, preorder,post order and in 
order 
2. Manage Menu Driven Program using switch statement 
3. simple calculator, using switch statement in C 
4. Use of Switch Case in C 
5. Write a c program to check given string is palindrome number or not 
Dynamic Allocation in c 
1. Perform Tree Operations – insert, traversal, preorder,post order and in 
order 
2. Find the sum of two one-dimensional arrays using Dynamic Memory 
Allocation 
File Handling in c 
1. c program to merge two files 
2. C Program to read name and marks of students and store it in file 
3. C Program for operations of Sequential file with records
4. C program for copies one file contents to another file 
5. C Program for file operations 
6. C Program to count number of characters in the file 
7. To read a text file print it on the screen in C 
8. Open a File 
9. Read string from a file 
Frequently Asked C programs in 
interview in c 
1. write a c program which produces its own source code as its output 
2. C program to print hello world without using semicolon 
3. To Find Factorial Of A Number Using C Program 
4. To Find Fibonacci Series Using C Program 
5. C program for solving quadratic equation 
6. Write a c program to check given string is palindrome number or not 
7. Write a c program to check given number is strong number or not 
8. C program to find given number is prime or not 
9. Write a c program to print Pascal triangle 
10. Printing ascii value using c program 
11. Write a c program to check given number is perfect number or not.
Graphics in c 
1. Fish Movement using c in graphics 
2. Pendulum using c in graphics 
3. Car Movement using c in graphics 
4. Chess Board using DDA line drawing algorithm 
5. Bouncing Ball using C Program 
6. Moving Wheel using Mid-Point Circle algorithm and DDA Line 
algorithm 
7. Draw a Ellipse : Mid-Point Algorithm 
8. Draw a Line : DDA Line Drawing Algorithm 
9. Draw a Line : Bresenham’s Line Drawing Algorithm 
10. Draw a Circle : Mid-Point Algorithm 
11. Draw a Circle : Bresenham’s Circle Algorithm 
12. 2D Transformations: Translations 
13. 2D Transformations: Scaling 
14. 2D Transformations: Rotation 
15. Show the ticking of Clock 
Mathematical Programs in c 
1. C Program to calculate the Combinations and Permutations 
2. c program to find hcf and lcm
3. Find power of a number using recursion using c program 
4. To classify the triangle as equilateral, isosceles and scalene 
5. To Find The Roots Of Quadratic Equation in C 
6. To evaluate a^b using function using C 
7. To calculate the tax using function in C 
8. C program to illustrate Airthmatic operators 
9. Compute the area of a circle using C 
10. Compute simple interest using C 
11. To compute the average of three given numbers using C 
12. Print the square of the number in C 
13. Division of given marks 
14. To print the multiplication table of a given number 
15. To evaluate x^n. 
16. write a c program which produces its own source code as its output 
17. To Find Multiplication Table Using c Program 
18. C program for solving quadratic equation 
19. Check the given number is armstrong number or not using c program 
Matrix in c 
1. Addition of All Elements in Matrix 
2. C Program to accept two matrices and check if they are equal
3. C Program to check if a given matrix is an identity matrix 
4. To find the frequency of odd numbers and even numbers in matrix 
5. C Program to sort the matrix rows and columns 
6. C Program to find the Inverse of the Matrix 
7. Add the diagonal elements of the matrix using C 
8. Multiplication of two matrix using C 
9. Addition of two matrix using C 
10. To create a matrix using C 
11. Transpose of a matrix 
12. find the sparse matrix 
Miscellaneous in c 
1. C program to Accept the height of a person in centimeter and 
categorize the person based on height 
2. C Program to Maintain an Inventory of items in Online Store 
3. Print mark-sheet of students 
4. Manage Menu Driven Program using switch statement 
5. Categorize students according to their marks 
6. C Program to calculate the total execution time of a program 
7. Formatting of Integers, Real Numbers and Strings in C 
8. simple calculator, using switch statement in C 
scanftree.com
9. Find out the size of the different data types in C 
10. Demonstrate global and internal variables in C 
11. Count the number of vowels in a given string using C 
12. To check whether a string belongs to a given grammer or not 
13. C program to print hello world without using semicolon 
14. Printing ascii value using c program 
My First Program in c 
1. C program to print “HELLO WORLD” 
Number Programs in c 
1. Find power of a number using recursion using c program 
2. To find the maximum number within n given numbers using pointers 
3. To compute the average of n given numbers using pointers 
4. To check a number is prime or not using function in C 
5. Addition of three numbers using function in C 
6. To check a given number is Armstrong or not using C 
7. To check a given number is prime or not using C 
8. To print the prime numbers using C 
9. Lowest number from three given numbers in C 
10. To add the even numbers in C 
click to view 
on programs 
to view on 
scanftree.com
11. To add the odd numbers in C 
12. To print the even numbers in C 
13. To print the odd numbers in C 
14. To reverse of a given number in C 
15. To Sum of digit in C 
16. To print natural numbers in C 
17. To to check leap year or not 
18. To check a given number is odd or even 
19. To print the multiplication table of a given number 
20. C program for odd or even number 
21. Write a c program to check given number is strong number or not 
22. C program to find given number is prime or not 
23. Check the given number is armstrong number or not using c program 
24. Write a c program to check given number is perfect number or not. 
25. Inverse of the list 
Patterns in c 
1. Print Patterns in C : part 5 
2. Print Patterns in C : part 4 
3. Print Patterns in C : part 3 
4. Print Patterns in C : part 2 
scanftree.com
5. Print Patterns in C : part 1 
6. Write a c program for Floyd’s triangle 
7. Write a c program to print Pascal triangle 
Pointer in c 
1. Reverse the order of each word of the string using pointers 
2. Reverse a string using pointers 
3. To find the maximum number within n given numbers using pointers 
4. To compute the average of n given numbers using pointers 
5. To swap the address of two variables using pointer 
6. C program to sort n given numbers using pointers 
7. Write a c program to check given string is palindrome number or not 
8. Get Address of an array using Arrays and Pointers 
9. Accessing an array using pointers 
Recursion in c 
1. Find power of a number using recursion using c program 
2. Find gcd of a number using recursion in c program 
3. Factorial program in c using recursion 
4. To implement Tower Of Hanoi using C 
5. To Find Factorial Of A Number Using C Program
6. To Find Fibonacci Series Using C Program 
7. Write a c program to check given string is palindrome number or not 
Searching in c 
1. C Program for operations of Sequential file with records 
2. Sequential Search Programs in C 
3. Binary Search Programs in C 
4. Searching using pointers in C 
5. Interpolation Search Programs in C 
6. Linear search of an array 
7. Binary search of an array 
8. find Lengths of strings 
Series in c 
1. Write a c program to find out the sum of given H.P. 
2. Write a c program to find out the sum of given G.P. 
3. Write a c program to find out the sum of given A.P. 
4. Write a c program to find out the sum of series 1^3 + 2^3 + …. + 
n^3 
5. Write a c program to find out the sum of series 1^2 + 2^2 + …. + 
n^2
6. Write a c program to find out the sum of series 1 + 2 + …. + n 
7. To print series using function in C 
8. To Find Fibonacci Series Using C Program 
Sorting in c 
1. C Program To Sort Names 
2. C Program to sort a linked list 
3. C Program to implement bucket sort 
4. C Program to implement HEAP sort 
5. C Program to implement Insertion sort 
6. C program to implement MERGE sort 
7. C Program to implement Selection sort 
8. C Program to implement topological sort 
9. C Program to implement Radix Sort 
10. C program to sort n given numbers using pointers 
11. Quick Sort Programs in C 
12. Shell Sort Programs in C 
13. Selection Sort Programs in C 
14. Bubble Sort Programs in C 
String in c
1. Write a c program for swapping of two string 
2. To delete n Characters from a given position in C 
3. To insert a sub-string in to given main string using C 
4. To compare the two strings using C 
5. Reverse the order of each word of the string using pointers 
6. Reverse a string using pointers 
7. Concatenate two given string 
8. To print the string in first case using C 
9. To print a given string in upper case using C 
10. To print a given string in lower case using C 
11. Count the number of words in a given string using C 
12. Count the number of vowels in a given string using C 
13. To print the reverse of a given string using C 
14. To find out Length of a given string using C 
15. Write a c program to check given string is palindrome number or not 
16. Read string from a file 
17. Pass string to a function 
18. Displaying a string 
19. Arrays of strings 
20. Read string from keyboard 
21. combines the two strings
Swapping in c 
1. Write a c program for swapping of two string 
2. Write a c program for swapping of two arrays 
3. To swap the address of two variables using pointer 
4. To swap the values of two variables using C 
5. Swaping without using a third variable in C 
6. Largest number from three given numbers 
Total c Programs 286 
scanftree.com 
Thanks

More Related Content

Viewers also liked (20)

C Programming Example
C Programming ExampleC Programming Example
C Programming Example
 
C++primer
C++primerC++primer
C++primer
 
Chap08
Chap08Chap08
Chap08
 
Multidimentional array
Multidimentional arrayMultidimentional array
Multidimentional array
 
Congruen Polygons - Math 5
Congruen Polygons - Math 5Congruen Polygons - Math 5
Congruen Polygons - Math 5
 
Connect all your customers on one multichannel platform!
Connect all your customers on one multichannel platform!Connect all your customers on one multichannel platform!
Connect all your customers on one multichannel platform!
 
20 C programs
20 C programs20 C programs
20 C programs
 
Computer Logic
Computer LogicComputer Logic
Computer Logic
 
Python in raspberry pi
Python in raspberry piPython in raspberry pi
Python in raspberry pi
 
C programming language tutorial
C programming language tutorial C programming language tutorial
C programming language tutorial
 
Conditional Loops Python
Conditional Loops PythonConditional Loops Python
Conditional Loops Python
 
Semiconductors summary
Semiconductors summarySemiconductors summary
Semiconductors summary
 
Graphics point clipping c program
Graphics point clipping c programGraphics point clipping c program
Graphics point clipping c program
 
C fundamentals
C fundamentalsC fundamentals
C fundamentals
 
Loops in c
Loops in cLoops in c
Loops in c
 
Bcsl 033 solve assignment
Bcsl 033 solve assignmentBcsl 033 solve assignment
Bcsl 033 solve assignment
 
Cloud Computing to Internet of Things
Cloud Computing to Internet of ThingsCloud Computing to Internet of Things
Cloud Computing to Internet of Things
 
Socket Programming In Python
Socket Programming In PythonSocket Programming In Python
Socket Programming In Python
 
Got Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIOGot Python I/O: IoT Develoment in Python via GPIO
Got Python I/O: IoT Develoment in Python via GPIO
 
CS2309 JAVA LAB MANUAL
CS2309 JAVA LAB MANUALCS2309 JAVA LAB MANUAL
CS2309 JAVA LAB MANUAL
 

Recently uploaded

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 

Recently uploaded (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 

c programs examples ,C Programming Examples ,C Basic program with examples , scanftree

  • 1. 1-D Array Programs in c 1. Find the sum of two one-dimensional arrays using Dynamic Memory Allocation 2. Stack PUSH & POP Implementation using Arrays 3. Program to remove duplicate element in an array 4. C Program to sort the matrix rows and columns 5. Write a c program for swapping of two arrays 6. C Program to read name and marks of students and store it in file 7. To find out the maximum number in an array using function 8. Operation on array in C 9. To insert a given number in the array using C 10. Highest and lowest number in array using C 11. Average of an array element in C 12. To Create an array in C 13. Initializing an array in declaration 14. Initializing an array using for loop 15. Use scanf to read data into array 16. Get Address of an array using Arrays and Pointers 17. Accessing an array using pointers 18. Merging of two sorted lists 19. Inverse of the list click on programs for view scanftree.com Digitally signed by ankits-PCankits DN: cn=ankits-PCankits Date: 2014.09.26 16:51:42 +05'30'
  • 2. 20. Addition of the elements of the list 21. Address of each element in an array 22. Arrays of strings Algorithm Implementation in c 1. C Program to implement Huffman algorithm 2. C Program to implement An activity selection problem 3. C Program to implement Bellman-ford Algorithm 4. C Program to solve Knapsack problem 5. C Program to implement Breadth First Search (BFS) 6. C program to implement Depth First Search(DFS) 7. C program to create a subsets using backtracking method 8. C Program to search the perticulur pattern in the string using Horspool method 9. C Program to find a minimum spanning tree using Prim’s algorithm 10. C program to cyclically permute the elements of an array 11. C Program to solve N Queen’s problem 12. C Program to implement Floyd’s Algorithm 13. C Program to implement Warshall’s Algorithm 14. Chess Board using DDA line drawing algorithm 15. Moving Wheel using Mid-Point Circle algorithm and DDA Line algorithm
  • 3. 16. Draw a Ellipse : Mid-Point Algorithm 17. Draw a Line : DDA Line Drawing Algorithm 18. Draw a Line : Bresenham’s Line Drawing Algorithm 19. Draw a Circle : Mid-Point Algorithm 20. Draw a Circle : Bresenham’s Circle Algorithm 21. C program for bankers algorithm 22. C Program to implement CRC (Cyclic Redundancy Code) 23. To implement Tower Of Hanoi using C 24. Implementation of Bit stuffing Using C 25. Implementation of CHECKSUM 26. Implementation of Hamming Code Array in c 1. Find the sum of two one-dimensional arrays using Dynamic Memory Allocation 2. Stack PUSH & POP Implementation using Arrays 3. Program to remove duplicate element in an array 4. C Program to sort the matrix rows and columns 5. Write a c program for swapping of two arrays 6. C Program to read name and marks of students and store it in file 7. To find out the maximum number in an array using function 8. Operation on array in C
  • 4. 9. To insert a given number in the array using C 10. Highest and lowest number in array using C 11. Average of an array element in C 12. To Create an array in C 13. Initializing an array in declaration 14. Initializing an array using for loop 15. Use scanf to read data into array 16. Get Address of an array using Arrays and Pointers 17. Accessing an array using pointers 18. Merging of two sorted lists 19. Inverse of the list 20. Addition of the elements of the list 21. Address of each element in an array 22. Arrays of strings Conversion in c 1. C program to convert binary to octal 2. C code to convert decimal to hexadecimal 3. C code for decimal to octal converter 4. Program to convert decimal to binary in c 5. Convert a binary number to decimal number in C
  • 5. 6. Convert a decimal number to hexadecimal number in C 7. To convert a decimal number to binary number in C Data structure in c 1. Perform Tree Operations – insert, traversal, preorder,post order and in order 2. c program to Create a Tree 3. Stack PUSH & POP Implementation using Arrays 4. Implement stack and perform push, and pop operations 5. C Program to sort a linked list 6. Stack Programs 7. Doubly linked list Programs 8. Queues Programs 9. Circular Linked List Programs 10. Singly Linked List Programs 11. To create a doubly link list using C 12. count the number of nodes in a link list using C 13. To create a singly link list using C Date and Time in c 1. Show the ticking of Clock
  • 6. 2. Time functions in c 3. To compute the seconds from a given age using C Decision and Loops in c 1. Perform Tree Operations – insert, traversal, preorder,post order and in order 2. Manage Menu Driven Program using switch statement 3. simple calculator, using switch statement in C 4. Use of Switch Case in C 5. Write a c program to check given string is palindrome number or not Dynamic Allocation in c 1. Perform Tree Operations – insert, traversal, preorder,post order and in order 2. Find the sum of two one-dimensional arrays using Dynamic Memory Allocation File Handling in c 1. c program to merge two files 2. C Program to read name and marks of students and store it in file 3. C Program for operations of Sequential file with records
  • 7. 4. C program for copies one file contents to another file 5. C Program for file operations 6. C Program to count number of characters in the file 7. To read a text file print it on the screen in C 8. Open a File 9. Read string from a file Frequently Asked C programs in interview in c 1. write a c program which produces its own source code as its output 2. C program to print hello world without using semicolon 3. To Find Factorial Of A Number Using C Program 4. To Find Fibonacci Series Using C Program 5. C program for solving quadratic equation 6. Write a c program to check given string is palindrome number or not 7. Write a c program to check given number is strong number or not 8. C program to find given number is prime or not 9. Write a c program to print Pascal triangle 10. Printing ascii value using c program 11. Write a c program to check given number is perfect number or not.
  • 8. Graphics in c 1. Fish Movement using c in graphics 2. Pendulum using c in graphics 3. Car Movement using c in graphics 4. Chess Board using DDA line drawing algorithm 5. Bouncing Ball using C Program 6. Moving Wheel using Mid-Point Circle algorithm and DDA Line algorithm 7. Draw a Ellipse : Mid-Point Algorithm 8. Draw a Line : DDA Line Drawing Algorithm 9. Draw a Line : Bresenham’s Line Drawing Algorithm 10. Draw a Circle : Mid-Point Algorithm 11. Draw a Circle : Bresenham’s Circle Algorithm 12. 2D Transformations: Translations 13. 2D Transformations: Scaling 14. 2D Transformations: Rotation 15. Show the ticking of Clock Mathematical Programs in c 1. C Program to calculate the Combinations and Permutations 2. c program to find hcf and lcm
  • 9. 3. Find power of a number using recursion using c program 4. To classify the triangle as equilateral, isosceles and scalene 5. To Find The Roots Of Quadratic Equation in C 6. To evaluate a^b using function using C 7. To calculate the tax using function in C 8. C program to illustrate Airthmatic operators 9. Compute the area of a circle using C 10. Compute simple interest using C 11. To compute the average of three given numbers using C 12. Print the square of the number in C 13. Division of given marks 14. To print the multiplication table of a given number 15. To evaluate x^n. 16. write a c program which produces its own source code as its output 17. To Find Multiplication Table Using c Program 18. C program for solving quadratic equation 19. Check the given number is armstrong number or not using c program Matrix in c 1. Addition of All Elements in Matrix 2. C Program to accept two matrices and check if they are equal
  • 10. 3. C Program to check if a given matrix is an identity matrix 4. To find the frequency of odd numbers and even numbers in matrix 5. C Program to sort the matrix rows and columns 6. C Program to find the Inverse of the Matrix 7. Add the diagonal elements of the matrix using C 8. Multiplication of two matrix using C 9. Addition of two matrix using C 10. To create a matrix using C 11. Transpose of a matrix 12. find the sparse matrix Miscellaneous in c 1. C program to Accept the height of a person in centimeter and categorize the person based on height 2. C Program to Maintain an Inventory of items in Online Store 3. Print mark-sheet of students 4. Manage Menu Driven Program using switch statement 5. Categorize students according to their marks 6. C Program to calculate the total execution time of a program 7. Formatting of Integers, Real Numbers and Strings in C 8. simple calculator, using switch statement in C scanftree.com
  • 11. 9. Find out the size of the different data types in C 10. Demonstrate global and internal variables in C 11. Count the number of vowels in a given string using C 12. To check whether a string belongs to a given grammer or not 13. C program to print hello world without using semicolon 14. Printing ascii value using c program My First Program in c 1. C program to print “HELLO WORLD” Number Programs in c 1. Find power of a number using recursion using c program 2. To find the maximum number within n given numbers using pointers 3. To compute the average of n given numbers using pointers 4. To check a number is prime or not using function in C 5. Addition of three numbers using function in C 6. To check a given number is Armstrong or not using C 7. To check a given number is prime or not using C 8. To print the prime numbers using C 9. Lowest number from three given numbers in C 10. To add the even numbers in C click to view on programs to view on scanftree.com
  • 12. 11. To add the odd numbers in C 12. To print the even numbers in C 13. To print the odd numbers in C 14. To reverse of a given number in C 15. To Sum of digit in C 16. To print natural numbers in C 17. To to check leap year or not 18. To check a given number is odd or even 19. To print the multiplication table of a given number 20. C program for odd or even number 21. Write a c program to check given number is strong number or not 22. C program to find given number is prime or not 23. Check the given number is armstrong number or not using c program 24. Write a c program to check given number is perfect number or not. 25. Inverse of the list Patterns in c 1. Print Patterns in C : part 5 2. Print Patterns in C : part 4 3. Print Patterns in C : part 3 4. Print Patterns in C : part 2 scanftree.com
  • 13. 5. Print Patterns in C : part 1 6. Write a c program for Floyd’s triangle 7. Write a c program to print Pascal triangle Pointer in c 1. Reverse the order of each word of the string using pointers 2. Reverse a string using pointers 3. To find the maximum number within n given numbers using pointers 4. To compute the average of n given numbers using pointers 5. To swap the address of two variables using pointer 6. C program to sort n given numbers using pointers 7. Write a c program to check given string is palindrome number or not 8. Get Address of an array using Arrays and Pointers 9. Accessing an array using pointers Recursion in c 1. Find power of a number using recursion using c program 2. Find gcd of a number using recursion in c program 3. Factorial program in c using recursion 4. To implement Tower Of Hanoi using C 5. To Find Factorial Of A Number Using C Program
  • 14. 6. To Find Fibonacci Series Using C Program 7. Write a c program to check given string is palindrome number or not Searching in c 1. C Program for operations of Sequential file with records 2. Sequential Search Programs in C 3. Binary Search Programs in C 4. Searching using pointers in C 5. Interpolation Search Programs in C 6. Linear search of an array 7. Binary search of an array 8. find Lengths of strings Series in c 1. Write a c program to find out the sum of given H.P. 2. Write a c program to find out the sum of given G.P. 3. Write a c program to find out the sum of given A.P. 4. Write a c program to find out the sum of series 1^3 + 2^3 + …. + n^3 5. Write a c program to find out the sum of series 1^2 + 2^2 + …. + n^2
  • 15. 6. Write a c program to find out the sum of series 1 + 2 + …. + n 7. To print series using function in C 8. To Find Fibonacci Series Using C Program Sorting in c 1. C Program To Sort Names 2. C Program to sort a linked list 3. C Program to implement bucket sort 4. C Program to implement HEAP sort 5. C Program to implement Insertion sort 6. C program to implement MERGE sort 7. C Program to implement Selection sort 8. C Program to implement topological sort 9. C Program to implement Radix Sort 10. C program to sort n given numbers using pointers 11. Quick Sort Programs in C 12. Shell Sort Programs in C 13. Selection Sort Programs in C 14. Bubble Sort Programs in C String in c
  • 16. 1. Write a c program for swapping of two string 2. To delete n Characters from a given position in C 3. To insert a sub-string in to given main string using C 4. To compare the two strings using C 5. Reverse the order of each word of the string using pointers 6. Reverse a string using pointers 7. Concatenate two given string 8. To print the string in first case using C 9. To print a given string in upper case using C 10. To print a given string in lower case using C 11. Count the number of words in a given string using C 12. Count the number of vowels in a given string using C 13. To print the reverse of a given string using C 14. To find out Length of a given string using C 15. Write a c program to check given string is palindrome number or not 16. Read string from a file 17. Pass string to a function 18. Displaying a string 19. Arrays of strings 20. Read string from keyboard 21. combines the two strings
  • 17. Swapping in c 1. Write a c program for swapping of two string 2. Write a c program for swapping of two arrays 3. To swap the address of two variables using pointer 4. To swap the values of two variables using C 5. Swaping without using a third variable in C 6. Largest number from three given numbers Total c Programs 286 scanftree.com Thanks