C Source Code

This learning project provides source code examples for the C programming language. To learn more about programming in general, see Computer Programming or Introduction to programming. To learn more about C programming, see C.

Examples of C source code

  • Functions
  • Loops
  • Pointers

Basics

  • Find the area and circumference of a circle
  • Area of a triangle
  • Find the greatest number from three integers
  • Find the median and mean
  • Find minimum of three numbers using ternary (conditional) operator
  • Roots of an equation
  • Sum and reverse of two entered numbers

Arrays

  • Sorting array in ascending and descending order
  • /Standard deviation
  • /Matrix multiplication
  • /Transpose of a matrix
  • /Count the number of vowels in a word

See Also

  • Computer Programming
  • Introduction to programming
  • C
  • Wikipedia: C (programming language)
  • Wikibooks: C Programming
Project: C
Previous: Input and Output — C Source Code — Next: C
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.