I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)


From Rosetta Code
(Redirected from C)
Due to technical limitations, the link C# points to here in some articles. To correct this issue, replace [[C#]] with [[C sharp|C#]].
This programming language may be used to instruct a computer to perform a task.
Execution method: Compiled (machine code)
Garbage collected: No
Parameter passing methods: By value
Type safety: Unsafe
Type strength: Weak
Type compatibility: Nominative
Type expression: Explicit
Type checking: Static
Lang tag(s): c
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using C.
Your Help Needed
If you know C, please write code for some of the tasks not implemented in C.
Try this language on Codepad.

C is a general-purpose, procedural, imperative computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the UNIX operating system. C evolved from its predecessor, B.

C has since spread to many other platforms, and is now one of the most widely used programming languages. C has also greatly influenced many other popular languages, such as C++ and Objective-C, which were originally designed as enhancements to C. People are so familiar with its syntax that many other languages such as AWK, PHP, Java, JavaScript, D, and C# deliberately used its "look and feel". C is the most commonly used programming language for writing system software, though it is also widely used for writing applications. C is the lingua franca of the open source community.


  • K&R C was the first widely-used form of C. It was originally documented in The C Programming Language, published in 1978. It is named for the authors, Brian Kernighan and Dennis Ritchie (also the language's creator). Code in this style is virtually nonexistent today.
  • C89 (often called ANSI C) is the version of C standardized by ANSI in 1989. It is the most commonly used and supported version of the language.
  • C90 (often called ISO C) is identical to C89, republished by ISO in 1990.
  • C99 is a significant improvement, adopting many features of C++ and standardizing common compiler extensions. It was standardized by ISO in 1999, and by ANSI in 2000. It is primarily supported by commercial C compilers, but most of its features are available in Clang GCC. [1]
  • C11 is the previous standard, published in December 2011. It is the default for GCC as of version 5.1.
  • C18 is the current standard, published in June 2018. It is the default for GCC as of version 8.1.
  • C2x is the upcoming standard, planned for a 2021 publication. GCC 9 and Clang 9 have preliminary support for it.



This category has the following 3 subcategories, out of 3 total.

Pages in category "C"

The following 1,139 pages are in this category, out of 1,139 total.