All C Programs and Terms


DFS - DATA FILE STRUCTURE PROGRAMS
  1. Program for String operations without library functions
  2. Various operations on polynomials using structures
  3. Represent Sparse Matrix using array and perform Matrix Addition,Simple Transpose and Fast Transpose 
  4. Simulation of Stack using Array
  5. Simulation of Queue using Array
  6. A program for Circular Queue using Array
  7. A program for Circular Dequeue using an Array
  8. Simulation of Stack using Linked List 
  9. Queue represented using Linked List 
  10. Queue represented using a Circular Linked List 
  11. Dequeue represented using Linked List
  12. Various operations on Polynomials using linked List 
  13. operations on sll (Singly Linked List) 
  14. Infix to Prefix and Postfix with Evaluation
  15. Postfix to Infix and Prefix 
  16. Prefix to Infix and Postfix 
  17. Operations on Doubly Linked List 
  18. Operations on CLL -Circular Linked List 
  19. Program showing various operations on Binary Search Tree 
  20. Program for AVL Tree 
  21. Indegree,Outdegree,Total Degree of each Vertex and, BFS , DFS on a Graph represented using Adjacency Matrix 
  22. DFS and BFS on Graph represented using Adjacency List 
  23. BSF and DSF on a Graph represented using Adjacency Matrix 
  24. Program for constructing a minimum cost spanning tree using Prim's algorithm
  25.  Program for constructing a Minimum Cost Spanning Tree Kruskal Algorithm

COMPUTER GRAPHICS PROGRAMS


COMPUTER GRAPHICS ALGORITHM PROGRAMS
  1. Bresenham line drawing algorithm program in c 
  2. Cohen Sutherland Line Clipping Algorithm 
  3. Bresenhams Circle Algorithm

Operating System (OS) Programs
  1. Priority Scheduling Algorithm C Program
  2. Round Robin Scheduling Method C Program 
  3. Shortest Job First Scheduling Algorithm C Program
  4. First in First Serve Algorithm C Program
  5. Producer Consumer Problem C Program
  6. Dining Philosophers Problem C Program 
  7. Implementation of System Calls C Program 

Distributed System (DS) Programs
  1. WAP to Implement Iterative echo Client-Server using Socket Programming.
  2. WAP To demonstrate the use of RPC Remote Procedural Call Distributed System.

Computer Network (CN) Programs
  1. Implement the Data Link Layer Framing methods such as " Bit Stuffing "
  2. Implement the Data Link Layer Framing methods such as " Character Stuffing and also De stuff " 
  3. Implementation of CRC C Program
  4. Implementation of Checksum C Program 
  5. Implementation of Sliding Window
  6. Implementation of Simple FTP Client
  7. Implementation Of Peer to Peer Connection using UDP 
  8. Implementation Of UDP Client Server Communication Using Bind System Call 
  9. Transferring Files over RS232

Interrupt Programming
  1. Program to save the Interrupt Vector Table (IVT) in a file.
  2. C Program to display the Conventional Memory of the system.
  3. Program to show the System Configuration using interrupt 11h.
  4. Program to get and set System Date using Interrupt 21h.
  5. Write a program to dDlete a specified file using Interrupt 21h 
  6. Program to Delete a specified Directory using Interrupt 21h 
  7. Write a program to Read a character from KeyBoard with echo using Interrupt 21h 
  8. Program to show files in Directories
  9. Write a program that Restarts your Computer 
  10. Program to read character from keyboard using interrupt 21h

Miscellaneous Programs
  1. Piano Game in C
  2. Love Calculator C Program
  3. C Program to Find out when will be My Death Date

Operation on Very Large Numbers
  1. Multiplication
  2. Division 
  3. Modular
  4. Power 

C Programs on Number
  1. Sleep() Function
  2. Addition C Program
  3. Subtraction C Program
  4. Subtract Two Numbers without using Subtraction Operator 
  5. Division C Program
  6. Multiplication C Program
  7. ODD or EVEN number ?
  8. Fibonacci Series C Program
  9. Count : Write a program to Count the digits of a given number without using Loop.
  10. Calculate Next & Previous Prime of a Number
  11. Maximum and Minimum Number
  12. Add Two Numbers without using the Plus Operator in C
  13. Reverse Number
  14. Prime Factor of a Number

C Programs on Sorting Algorithms
  1. Parallel Merge Sort Algorithm
  2. Quick Sort Algorithm Program
  3. Binary Tree Sorting C Program 
  4. Heap Sort Algorithm C Program
  5. Insertion Sort Algorithm Program
  6. Sorting of Array Elements using a Function
  7. Merge Sort Algorithm Program using Array in C
  8. Selection Sort Algorithm Program using Array in C
  9. Bubble Sort Program 

C Programs on Search Algorithms
  1. Iterative Deepening Depth First Search
  2. Binary Search C Program
  3. Travelling Salesman Problem in C

C Program on Number Pattern
  1. Generate Number Pattren Triangle C Program

OTHER PROGRAMS
  1. Hello world program
  2. Punctuators
  3. Operators
  4. Switch Case
  5. Structure in C
  6. Union C Program 
  7. What is Language?
  8. Factorial of Number
  9. Calculator C Program
  10. Square root of Number
  11. Features of C Language.
  12. Centigrade to Fahrenheit
  13. Doubly Link List C program
  14. Number Pattern C Program
  15. Simple - Compound interest
  16. C Program to maintain Heap
  17. What is Language Translator?
  18. Error Handling in File Operations 
  19. Hill Cipher Algorithm C Program
  20. Write a Program to Print MATRIX 
  21. C Program to maintain an AVL tree
  22. C Program to draw reliability graph
  23. C Program to Add two Polynomials
  24. Find Area of Rectangular C Program 
  25. Number is Prime or Not ? C Program
  26. C program to convert Binary to Decimal 
  27. C program to convert Binary to Octal.
  28. Passing of arrays to a function C Program 
  29. A* (Star) Search Algorithm Source Code
  30. Writing strings using %s format C Program 
  31. passing Structure to Function - C Program 
  32. Producer-Consumer Problem using Thread
  33. Printing All Possible Subsets using BitMask 
  34. System Configuration using biosequip function
  35. Evalution Of Binomial Coefficients C Program
  36. C Program to maintain a Threaded Binary Tree
  37. False Position Method or Regula Falsi Method
  38. Reverse String without using loop or Recursion  
  39. Program to print Array Element in Reverse Order 
  40. C Program to convert an Infix form to Postfix form
  41. ILLUSTRATION OF fseek & ftell FUNCTIONS 
  42. IPC Shared Memory Implementation Program in C
  43. Color Program without using Graphics - C Program
  44. Source Code for Illustration of nested for loops in C
  45. C program of matrix transpose and matrix multiplication
  46. Compute x to the power n using while loop - C Program
  47. Program to save the Interrupt Vector Table (IVT) in a file 
  48. Multi Dimentional Array values using Functions C Program
  49. Program to find greatest number from one dimensional array 
  50. C Program to print pyramid of small letter and capital letter abcd 
  51. C Program to calculate x raise to y or power(x,y) using while loop 
  52. Insert and Delete a Node from the Binary Search Tree - C Program 
  53. Example of File Functions like fread(), fwrite(), fopen(), fclose() and fseek()
  54. Simulated Annealing for Traveling Salesman Problem - Artificial Intelligence
  55. Doublely link list with Create, Insert, Delete and Display operations using Structure Pointer
  56. Write a C program that prints your name in the four corner of the screen
  57. Write a C program that converts Hexadecimal value in Decimal, Octal and Binary value
  58. How to Use strlen() Function in C
  59. How to Use abs() function in C
  60. C Program to Check Whether a Number is a Palindrome or Not
  61. C Program to Count number of Digits in Factorial
  62. LRU Program in C: Algorithm and Implementation

Keep Visiting... I will upload more programs soon . You can request Program or Solution in Comment Section.

Post a Comment

4 Comments

  1. Can anybody help me with this problem???

    enter 10 nos.
    *
    *
    *
    *
    *
    *
    *
    *

    summary: ***********(ung sampu)
    negative nos: (kung ilan un neg)
    positive nos:

    sum of negative nos:
    sum of positive nos:


    Any my codes are:

    #include
    main()
    {

    int n[10], sum1, sum2,
    x, y;

    printf("Enter 10 numbers: \n");
    {for(x=0;x<=10;x++)
    n[x]=0;
    }
    {for(x=0;x<=10;x++)
    sum1+=n[x];
    }


    scanf("%d", &n);
    {
    printf("SUMMARY: %d", n);
    }



    getch();
    }


    ANY CORRECTIONS????

    ReplyDelete
    Replies
    1. //it would be like this.

      #include
      #include
      #include

      void main()
      {
      int a[10],i,sum=0;

      clrscr();

      printf("Enter 10 numbers for addition: \n");

      for(i=0;i<10;i++)
      {
      scanf("%d",&a[i]);
      sum=sum+a[i];
      }

      printf("sum=%d",sum);

      getch();
      }

      Delete
  2. program for addition of numbers and display positive and negative numbers and their addition
    #include
    #include
    void main()
    {
    int a[10],i,sum=0,neg=0,pos=0;
    clrscr();
    printf("Enter 10 numbers for addition: \n");
    for(i=0;i<10;i++)
    {
    scanf("%d",&a[i]);
    sum=sum a[i];
    }
    printf("sum of numbers= %d",sum);
    printf("\nPositive nos : ");
    for(i=0;i<10;i++ )
    {
    if(a[i]>0)
    {
    printf("%d\t",a[i]);
    pos=pos a[i];
    }
    }
    printf("\nsum of positive nos=%d",pos);
    printf("\nNegative nos: ");
    for(i=0;i<10;i ++)
    {
    if(a[i]<0)
    {
    printf("%d\t",a[i]);
    neg=neg a[i];
    }
    }
    printf("\nsum of Negative nos=%d",neg);
    getch();
    }

    ReplyDelete
  3. Reena’s operating system uses an algorithm for deadlock avoidance to manage the allocation of resources say three namely A, B, and C to three processes P0, P1, and P2. Consider the following scenario as reference .user must enter the current state of system as given in this example : Suppose P0 has 0,0,1 instances , P1 is having 3,2,0 instances and P2 occupies 2,1,1 instances of A,B,C resource respectively. Also the maximum number of instances required for P0 is 8,4,3 and for p1 is 6,2,0 and finally for P2 there are 3,3,3 instances of resources A,B,C respectively. There are 3 instances of resource A, 2 instances of resource B and 2 instances of resource C available. Write a program to check whether Reena’s operating system is in a safe state or not in the following independent requests for additional resources in the current state: 1.Request1: P0 requests 0 instances of A and 0 instances of B and 2 instances of C. 2.Request2: P1 requests for 2 instances of A, 0 instances of B and 0 instances of C. All the request must be given by user as input.

    ReplyDelete