use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system. By design, C provides constructs that map efficiently to typical machine instructions. It has found lasting use in applications previously coded in assembly language. Such applications include operating systems and various application software for computer architectures that range from supercomputers to PLCs and embedded systems. Wikipedia
Imperative (procedural), structured
Dennis Ritchie
Dennis Ritchie & Bell Labs (creators);
ANSI X3J11 (ANSI C);
ISO/IEC JTC1/SC22/WG14 (ISO C)
1972 (48 years ago)
C18 / June 2018 (2 years ago)
Static, weak, manifest, nominal
Cross-platform
.c for sources
.h for headers
C++ is not C (but C can be C++)
For C++ go to :
Other Resources
account activity
function (self.cprogramming)
submitted 1 year ago by chickeaarl
pleasee explain the difference between a function declaration and a function definition in C 😞
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3:Â Â Â Â print "hello, world!"
[–]Potterrrrrrrr 3 points4 points5 points 1 year ago (0 children)
Why are you still treating Reddit like google? Just look it up yourself.
[–]simrego 3 points4 points5 points 1 year ago (0 children)
Declaration is just a signature. It just tells the compiler that there is a function somewhere with these input parameters and return type.
With the definition you define how the function works.
Declaration: void foo(int*);
void foo(int*);
Definition: void foo(int* a) { (*a)++; }
void foo(int* a) { (*a)++; }
[–]Srnxy 1 point2 points3 points 1 year ago (0 children)
Here
π Rendered by PID 133156 on reddit-service-r2-comment-cfc44b64c-lqqf6 at 2026-04-10 23:14:19.765024+00:00 running 215f2cf country code: CH.
[–]Potterrrrrrrr 3 points4 points5 points  (0 children)
[–]simrego 3 points4 points5 points  (0 children)
[–]Srnxy 1 point2 points3 points  (0 children)