Get Update on recent Technology & Programming

Tuesday, 7 November 2017

Basis C Programming Examples

Posted by   on Pinterest



Control Statements

1.  C Program to print the largest Of Two Number

2.  C Program to print whether a number is even or odd

3.  C Program to print a message if negative number is entered

4.  C Program to find quotient and remainder

5.  C Program to find biggest number from three given numbers 

6.  C Program to find whether a year is leap or notd

7.  C Program to print numbers in reverse order with a difference of 2

8. C Program to print the sum of digits of any number

9. C Program to find the product of digits of any number

10. C Program to find the factorial of any number

11. C Program to convert a binary number to a decimal number



Array

1.  C Program to input values into an array and display them

2.  C Program to add elements of an array


3.  C Program to count even and odd numbers in an array


4.  C Program to find largest and smallest number in an Array


5.  C Program to reverse the elements of an array

6.  C Program to convert a decimal number to binary number


7.  C Program to Addition of two matrices


8.  C Program to Multiplication of two matrices


9.  C Program to Program to convert a decimal number to Binary, octal or hexadecimal

10. C Program Selection sort


11. C Program Bubble sort


12. C Program to insert an item in an array at a specified index by moving other elements to the right


13. C Program to insert an item in a sorted array at the proper place by shifting other elements to the right


14. C Program of sorting using insertion sort


15. C Program of merging two sorted arrays into a third sorted array


16. C Program to find Prime numbers using sieve Algorithm





FILE

1. C Program to Copy a file to another file

2. C Program to Program to append records to a file

3. Program to read records from a file and calculate grade of each student and display it 










3 comments:
Write comments
  1. Thanks for these examples! C project is a complicated language of programming, and to write C project by your own is not easily. Thanks God, I’ve found this service https://www.assignmentexpert.com/programming. It kept me on track to completing my programming homework in a timely manner consistent with the needs of entirely my program. BTW, the price is quite affordable. Highly recommend!

    ReplyDelete
  2. Most programming tasks fizzle since individuals chip away at the wrong things.
    meet the guy

    ReplyDelete

Hey, we've just launched a new custom color Blogger template. You'll like it -
Join Our Newsletter