C Source Code
Appearance
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
[edit | edit source]Basics
[edit | edit source]- 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
[edit | edit source]- 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
[edit | edit source]- Computer Programming
- Introduction to programming
- C
- Wikipedia: C (programming language)
- Wikibooks: C Programming
Project: C |
Previous: Input and Output — C Source Code — Next: C |