• Home
  • Random
  • Log in
  • Settings
Donate Now If this site has been useful to you, please give today.
  • About Wikiversity
  • Disclaimers
Wikiversity

C Source Code

  • Language
  • Watch
  • Edit

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.

Contents

  • 1 Examples of C source code
  • 2 Basics
  • 3 Arrays
  • 4 See Also

Examples of C source code

edit
  • Functions
  • Loops
  • Pointers

Basics

edit
  • 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
  • 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
  • Computer Programming
  • Introduction to programming
  • C
  • Wikipedia: C (programming language)
  • Wikibooks: C Programming


Project: C
Previous: Input and Output — C Source Code — Next: C
Retrieved from "https://en.wikiversity.org/w/index.php?title=C_Source_Code&oldid=2595971"
Last edited on 6 January 2024, at 11:17

Languages

      This page is not available in other languages.

      Wikiversity
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 6 January 2024, at 11:17.
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikiversity
      • Disclaimers
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop