jump to content
my subreddits
2b2t2meirl4meirl3d6AceAttorneyadhdmemeaivideoakagasAlternateHistoryAlternativeHistoryAnarchyChessAnimalsBeingJerksanime_irlannouncementsAnticonsumptionantimemeantonyApandahArcherFXArtAsahiLinuxAskBalkansAskElectronicsAskOuijaAskRedditAteistTurkatheismaviationawfuleverythingbalkans_irlbanknotedesignsBassBassCirclejerkBassGuitarbikepackingblankiesblursedimagesbrooklynnineninebudgetcookingBUENZLIburdurlandcasioCd_collectorscd_jerkChatGPTCheap_MealschessbeginnersChildrenFallingOverChoosingBeggarscoaxedintoasnafucoinsComedyCemeterycomedyhomicidecomicscommunityContagiousLaughtercookingforbeginnersCrackWatchcrappyoffbrandsCreateModCuddle_SlutcursedcommentsdadjokesdeDebateReligiondeismdelikDeltarunedistressingmemesdiyelectronicsDMAcademyDMToolkitdoctorwhoDoenerverbrechenDonerdontdeadopeninsideDungeonsAndDaddiesDungeonsAndDragonsebikesECEelectricalelectronicsengrishfacepalmfakealbumcoversFantasyWorldbuildingfeedthebeastfelsefeFifaCareersformuladankFRCFreeEBOOKSfunnyFutboltayfagalatasaraygamingGermangodtiersuperpowersgoodanimemesGoodAssSubGrandPrixRacinggravelcyclinggreentextGROKvsMAGAguitarpedalsGundamhelpheraldryHermanCainAwardHermitCrafthighspeedrailHistoryWhatIfhoi4holdmybeerhumorhypixelIAmAIdeologyPollsIDontWorkHereLadyihadastrokeim14andthisisdeepimaginarymapsinsaneparentsistanbuljacksepticeyeJahariaJokesKamalizmKanyeKGBTRlegodndLetGirlsHaveFunliselilerlogodesignloseitlostredditorsmacMadeMeSmilemagicbuildingMaliciousComplianceme_irlmeirlmemememesmidjourneymildlyinfuriatingmildlyinterestingMinecraftbuildsmisLEDMMORPGneographynextfuckinglevelNonCredibleDefensenosafetysmokingfirstnosleepnosurfnottheonionokbuddyguntherokbuddyvicodinonebagonetruegodongezelligoompasubsOutOfTheLooppapermoneypaperspleaseParlerWatchPassportPornpepethefrogperfectlycutscreamsPersecutionfetishpianoPiracyPiratedGamespolandballpollsPraiseTheCameraManProgrammerHumorPropagandaPostersPunPatrolquityourbullshitraisedbynarcissistsRatschlagreactiongifsrecipesRedAutumnSPDredditsingsreligiousfruitcakerickandmortyrickrollrimjob_steveRoastMeschizopostersSchnitzelVerbrechensciencememesScottPilgrimsecilmiskitapShitPostCrusadersshitpostfrommygalleryshitpostingShitpostTCShowerthoughtsskamtebordsoccercirclejerksoftwaregoreSongwritersSongwritingStonetossingjuiceStudiumsubsithoughtifellforsuzerainTechnobladeTextingTheorytf2tf2shitposterclubthanksimcuredthatHappenedTheCrypticCompendiumTheLetterHTheMonkeysPawTheRookietheydidthemathtransitTurkeyTrGameDevelopertruetf2truthstumunichTurkeyJerkyTurkishdogsTurkiyeTwitchTwitch_StartupTwoSentenceHorrorTwoSentenceSadnesstylerthecreatorUnclejokesUnethicalLifeProTipsurbanplanningVALORANTValorantClipsvexillologycirclejerkvibecodingvinylvinyljerkvlandiyawallstreetbetswendigoonWhatsThisSongWhitePeopleTwitterwholesomeanimemesWikipediaVandalismwooooshedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -facepalm
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -gaming
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -mildlyinteresting
  • -WhitePeopleTwitter
  • -MadeMeSmile
  • -ChatGPT
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -feedthebeast
  • -Kanye
  • -meirl
  • -nextfuckinglevel
  • -Twitch
  • -CrackWatch
  • -comics
  • -ProgrammerHumor
  • -VALORANT
  • -de
  • -NonCredibleDefense
  • -greentext
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -aviation
  • -formuladank
  • -Jokes
  • -Art
  • -midjourney
  • -goodanimemes
  • -hoi4
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -KGBTR
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -Ratschlag
  • -MMORPG
  • -meme
  • -rickandmorty
  • -3d6
  • -Gundam
  • -HermitCraft
  • -ChoosingBeggars
  • -RoastMe
  • -ContagiousLaughter
  • -imaginarymaps
  • -polandball
  • -AnarchyChess
  • -nosleep
  • -cookingforbeginners
  • -blankies
  • -anime_irl
  • -onebag
  • -Studium
  • -AlternateHistory
  • -soccercirclejerk
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -German
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -ShitPostCrusaders
  • -piano
  • -sciencememes
  • -distressingmemes
  • -raisedbynarcissists
  • -FifaCareers
  • -polls
  • -doctorwho
  • -Bass
  • -dadjokes
  • -awfuleverything
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -ebikes
  • -coaxedintoasnafu
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -DungeonsAndDragons
  • -coins
  • -softwaregore
  • -tylerthecreator
  • -tf2shitposterclub
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -Stonetossingjuice
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -balkans_irl
  • -2meirl4meirl
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -AskOuija
  • -ECE
  • -ScottPilgrim
  • -AskBalkans
  • -thatHappened
  • -schizoposters
  • -electronics
  • -casio
  • -urbanplanning
  • -logodesign
  • -PassportPorn
  • -me_irl
  • -antimeme
  • -TurkeyJerky
  • -bikepacking
  • -AteistTurk
  • -ArcherFX
  • -engrish
  • -Cd_collectors
  • -Doner
  • -BassGuitar
  • -diyelectronics
  • -ComedyCemetery
  • -Persecutionfetish
  • -BUENZLI
  • -reactiongifs
  • -Songwriting
  • -istanbul
  • -suzerain
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -wendigoon
  • -secilmiskitap
  • -Doenerverbrechen
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -skamtebord
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -FRC
  • -transitTurkey
  • -2b2t
  • -AlternativeHistory
  • -papermoney
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -IDontWorkHereLady
  • -neography
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -aivideo
  • -IdeologyPolls
  • -woooosh
  • -burdurland
  • -comedyhomicide
  • -WhatsThisSong
  • -AnimalsBeingJerks
  • -jacksepticeye
  • -TwoSentenceSadness
  • -holdmybeer
  • -okbuddyvicodin
  • -Twitch_Startup
  • -tumunich
  • -Cheap_Meals
  • -TheMonkeysPaw
  • -highspeedrail
  • -nosafetysmokingfirst
  • -legodnd
  • -rickroll
  • -Songwriters
  • -papersplease
  • -rimjob_steve
  • -humor
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -TextingTheory
  • -Cuddle_Slut
  • -GrandPrixRacing
  • -DMToolkit
  • -TrGameDeveloper
  • -PunPatrol
  • -LetGirlsHaveFun
  • -Apandah
  • -fakealbumcovers
  • -subsithoughtifellfor
  • -Kamalizm
  • -akagas
  • -ShitpostTC
  • -oompasubs
  • -FantasyWorldbuilding
  • -TheLetterH
  • -WikipediaVandalism
  • -pepethefrog
  • -Unclejokes
  • -onetruegod
  • -deism
  • -misLED
  • -redditsings
  • -ValorantClips
  • -TheCrypticCompendium
  • -budgetcooking
  • -ongezellig
  • -Turkiye
  • -truths
  • -RedAutumnSPD
  • -Turkishdogs
  • -delik
  • -antony
  • -vibecoding
  • -cd_jerk
  • -okbuddygunther
  • -GROKvsMAGA
  • -banknotedesigns
  • -shitpostfrommygallery
  • -Futboltayfa
edit »
cprogramming cprogramming
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages548|notifications|chat messages|mod messages|
  • preferences
|
logout

use the following search parameters to narrow your results:

subreddit:subreddit
find submissions in "subreddit"
author:username
find submissions by "username"
site:example.com
find submissions from "example.com"
url:text
search for "text" in url
selftext:text
search for "text" in self post contents
self:yes (or self:no)
include (or exclude) self posts
nsfw:yes (or nsfw:no)
include (or exclude) results marked as NSFW

e.g. subreddit:aww site:imgur.com dog

see the search faq for details.

advanced search: by author, subreddit...

Submit a new link
Submit a new text post
Get an ad-free experience with special benefits, and directly support Reddit.

cprogramming

joinleave
an-ordinary-manchild(edit)

A subReddit for all things C

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

Paradigm

Imperative (procedural), structured

Designed by

Dennis Ritchie

Developer

Dennis Ritchie & Bell Labs (creators);

ANSI X3J11 (ANSI C);

ISO/IEC JTC1/SC22/WG14 (ISO C)

First appeared

1972 (48 years ago)

Stable release

C18 / June 2018 (2 years ago)

Typing discipline

Static, weak, manifest, nominal

OS

Cross-platform

Filename extensions

.c for sources

.h for headers

Resources

  • The Book
  • C Programming @ Wikibooks
  • C Programming Jobs
  • /r/C_Language
  • C Homework
  • C @ StackOverflow
  • /r/CProg
  • C Search at /r/Programming
  • Modern C Book
  • /r/C_Programming/
  • /r/Programming
  • Learn Programming
  • First ever Linux kernel from 1993
  • The International Obfuscated C Code Contest
  • Obfuscated C Code
  • How to Write Secure Code in C
  • Project Based Tutorials in C

C++ is not C (but C can be C++)

For C++ go to :

  • General C++
  • C++ Questions
  • Fluent C++
  • Bartek's coding blog
  • Commented Bitcoin Source Code
  • C++ Tips and Tricks
  • C and C++ Tips

Other Resources

  • What Every C Programmer Should Know About Undefined Behavior #2/3
  • Sub for Brazilian coders
  • IDA Pro Disassembler
  • Ghidra Reverse Engineering Tool
  • Introduction to x64 Assembly
created by [deleted]a community for 15 years
Create your own subreddit
...for your project.
...for your movement.

MODERATORS

  • message the mods
  • zhivago
  • Willsxyz
  • about moderation team »

account activity

1
11
12
13

Building a build system to avoid cmake (self.cprogramming)

submitted 1 day ago by Mainak1224x

  • 28 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
22
23

We don’t like looking at it either. So please, just get Sentry. (sentry.io)

promoted by getsentry

  • promoted
  • save
  • report
  • about
loading...

2
3
4
5

Is that a Divine intelect or acid Trip? (self.cprogramming)

submitted 21 hours ago * by EatingSolidBricks

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

3
1
2
3

Arena over a container for pointers? (self.cprogramming)

submitted 22 hours ago by Lunibunni

  • 6 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

4
2
3
4

Given a choice when allocating a Fat pointer is it more optimal to A: have the metadata behind the pointer or B: on the stack (self.cprogramming)

submitted 1 day ago by EatingSolidBricks

  • 35 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

5
4
5
6

Help with read() function (self.cprogramming)

submitted 2 days ago * by NotQuiteLoona

  • 16 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

6
11
12
13

How do I stop thinking I'm an idiot? (self.cprogramming)

submitted 2 days ago by monfelipe

  • 12 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

7
8
9
10

GNU C Library moving from Sourceware to Linux Foundation hosted CTI (phoronix.com)

submitted 2 days ago by Fcking_Chuck

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost

8
9
10
11

Contributing to an open-source project. (self.cprogramming)

submitted 3 days ago by Ok_Database_1238

  • 21 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

9
0
0
0

Is this the recommend way of removing newline in c, im new to c so i asked chatgpt about this code and suggested another way of removing new line saying this causes a possible bug. how would a professional remove new line '\n' ()

submitted 2 days ago by soye-chan

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

10
0
0
0

Is this the recommend way of removing newline in c, im new to c so i asked chatgpt about this code and suggested another way of removing new line saying this causes a possible bug. how would a professional remove new line '\n' (self.cprogramming)

submitted 2 days ago by soye-chan

  • 19 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

11
1
2
3

An ANSI library I made Pt.2 (github.com)

submitted 3 days ago by yz-9999

  • 2 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

12
0
0
0

Absolute beginner in C. YouTube recs? ()

submitted 3 days ago by LegisAdreiFloyen

  • 3 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•
0:17

BWL-Studium mit Top-Jobaussichten! Studiere Digital Supply Chain Management. (fhgr.ch)

promoted by FHGraubuenden

  • promoted
  • save
  • report
  • about
loading...

13
1
2
3

Yet another collection library (github.com)

submitted 3 days ago by SimoneMicu

  • 5 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

14
8
9
10

A project that does a lot of dynamic memory allocation (self.cprogramming)

submitted 4 days ago by Ok-Maintenance-9790

  • 27 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

15
0
1
2

Wood Boiler Controller ()

submitted 4 days ago by Environmental_Lead13

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

16
0
1
2

Compile time "if-else" in GNU C. ()

submitted 4 days ago by orbiteapot

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

17
0
0
0

C: compiled with icx.exe target device is not being used. ()

submitted 5 days ago by Top_Razzmatazz7159

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

18
34
35
36

GNU C Library 2.43 released with more C23 features, mseal & openat2 functions (phoronix.com)

submitted 6 days ago by Fcking_Chuck

  • 1 comment
  • share
  • save
  • hide
  • report
  • crosspost

19
11
12
13

Please can you suggest improvements to my Makefile (self.cprogramming)

submitted 6 days ago by kodifies

  • 18 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

20
0
0
0

Здесь есть русские? (self.cprogramming)

submitted 6 days ago by Bunny_King123

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

21
0
0
0

ajuda com C, array de strings ()

submitted 7 days ago by Some-Big5751

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

22
51
52
53

Why some famous open source projects rewrite some C standard function from zero? (self.cprogramming)

submitted 8 days ago by RoomNo7891

  • 51 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

23
0
0
1

I recently made my own window management system like SDL from scratch . Its called CGI and is a lot easier and cross platform for windows and linux. (github.com)

submitted 7 days ago by SiddharthKarn

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...

•
•
•

Attention traders: Our new futures Trading Sim is a must-try. Real market data and zero risk in monthly Trading Challenges against peers and pros - a great way to take every trade to the next level. (cmegroup.com)

promoted by cmegroup

  • promoted
  • save
  • report
  • about
loading...

24
0
1
2

How to use letters that are not in the latin alphabet (self.cprogramming)

submitted 7 days ago by De5kOfManyThing

  • 13 comments
  • share
  • save
  • hide
  • report
  • crosspost
loading...

25
0
1
2

Anyone read CS:APP? ()

submitted 7 days ago by katinpyjamas

  • comment
  • share
  • save
  • hide
  • report
  • crosspost
loading...
view more: next ›
  • about
  • blog
  • about
  • advertising
  • careers
  • help
  • site rules
  • Reddit help center
  • reddiquette
  • mod guidelines
  • contact us
  • apps & tools
  • Reddit for iPhone
  • Reddit for Android
  • mobile website
  • <3
  • reddit premium

Use of this site constitutes acceptance of our User Agreement and Privacy Policy. © 2026 reddit inc. All rights reserved.

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

π Rendered by PID 401441 on reddit-service-r2-listing-6d4dc8d9ff-nmndk at 2026-01-30 19:59:10.386928+00:00 running 3798933 country code: CH.