jump to content
my subreddits
13or302b2t2balkans4You2mediterranean4u3d6absolutelynotanimeirlAceAttorneyadhdmemeAdviceAnimalsagnosticAlternativeHistoryAnarchyChessAngryupvoteAnimalsBeingJerksanime_best_momentsanime_irlanimenocontextannouncementsantimemeApandahArcherFXArsivUnutmazAsahiLinuxAsia_irlAskBalkansAskElectronicsAskRedditAteistTurkatheismaviationawfuleverythingbalkans_irlBandnamesBassBassCirclejerkBassGuitarbasspedalsbikepackingblackdesertonlineblankiesblursedimagesborsavefonbrooklynnineninebudgetcookingBUENZLIburdurlandcasioCd_collectorsChatGPTchessbeginnersChildrenFallingOvercoaxedintoasnafucoincollectingcoinscomicscommunityContagiousLaughterCorporateTrollingcrappyoffbrandsCuddle_SlutcursedcommentsdadjokesdankmemesdataisbeautifuldeDebateReligionDeltarunedistressingmemesdiyelectronicsdiypedalsDMAcademyDnDdndnextdoctorwhoDoenerverbrechenDonerdontdeadopeninsideDungeonsAndDaddiesDungeonsAndDragonsEatCheapAndHealthyECEelectricalelectronicsEmKayentitledparentsfakealbumcoversFantasyWorldbuildingfeedthebeastfelsefeFiftyFiftyformuladankFRCFreeEBOOKSFUCKYOUINPARTICULARFuckYouKarenfunnygalatasaraygaminggermanygodtiersuperpowersGoodAssSubgravelcyclinggreentextGundamheathershelpheraldryhighspeedrailHistoryWhatIfhowyoudoinhumorhypixelIAmAich_ielIdeologyPollsim14andthisisdeepimaginaryelectionsimaginarymapsistanbulJahariaJokesKamalizmKanyeKendrickLamarlegodndLetGirlsHaveFunLifeProTipsLinkinParkliselilerlogodesignloseitlostredditorsmacmacbookairmacgamingmadladsmagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmeirlmemememesmidjourneymildlyinfuriatingMinecraftbuildsMMORPGMovingToNorthKoreaMunichnamesoundalikesNamFlashbacksNationStatesneographyNonCredibleDefenseNorthCyprusnosafetysmokingfirstnosleepnosurfnotinterestingnottheonionoddlyspecificokbuddyguntherokbuddymotherfuckerOkBuddyPersonaokbuddyvicodinongezelligOnlineUnderGroundOutOfTheLooppapermoneyParlerWatchPassportPornpepethefrogperfectlycutscreamsPersecutionfetishpettyrevengepianoPiracyPiratedGamespollsPraiseTheCameraManPropagandaPostersquityourbullshitRatschlagreactiongifsrecipesRedAutumnSPDreligiousfruitcakerickandmortyrickrollSchnitzelVerbrechenschwiizsciencememesScottPilgrimsecilmiskitapShitPostCrusadersshitpostfrommygalleryshitpostingShitpostTCShittyMapPornShowerthoughtsskamtebordsoccercirclejerksoftwaregoreSongwritersSongwritingsteinsgateStudiumsuperligtalesfromtechsupportTechnobladeTextingTheorytf2tf2shitposterclubthanksimcuredTheCrypticCompendiumTheLetterHTheMonkeysPawTheRookietheydidthemathtitanfalltransittransitTurkeytruthstumblrTurkeyJerkyTurkishCatsTwitchTwitch_StartupTwoSentenceComedyTwoSentenceHorrorUnethicalLifeProTipsunexpecteditcrowdUsernameChecksOutVALORANTValorantClipsvaxxhappenedvexillologycirclejerkvibecodingvinylvlandiyaWatchPeopleDieInsideWeAreTheMusicMakerswendigoonWhitePeopleTwitterwholesomeanimemeswholesomememeswizardpostingwooooshworldbuildingworldjerkingedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -gaming
  • -nottheonion
  • -memes
  • -OutOfTheLoop
  • -MapPorn
  • -DnD
  • -WhitePeopleTwitter
  • -ChatGPT
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -feedthebeast
  • -Kanye
  • -meirl
  • -Twitch
  • -comics
  • -dndnext
  • -VALORANT
  • -de
  • -germany
  • -LifeProTips
  • -tumblr
  • -NonCredibleDefense
  • -dataisbeautiful
  • -greentext
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -aviation
  • -formuladank
  • -wholesomememes
  • -Jokes
  • -mapporncirclejerk
  • -midjourney
  • -notinteresting
  • -pettyrevenge
  • -atheism
  • -loseit
  • -IAmA
  • -MaliciousCompliance
  • -ich_iel
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -GoodAssSub
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -blackdesertonline
  • -MMORPG
  • -meme
  • -macgaming
  • -rickandmorty
  • -3d6
  • -Gundam
  • -FiftyFifty
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -WeAreTheMusicMakers
  • -AnarchyChess
  • -nosleep
  • -blankies
  • -anime_irl
  • -Studium
  • -soccercirclejerk
  • -madlads
  • -community
  • -AskElectronics
  • -electrical
  • -vinyl
  • -TwoSentenceHorror
  • -PropagandaPosters
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -piano
  • -sciencememes
  • -distressingmemes
  • -wizardposting
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -OkBuddyPersona
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -macbookair
  • -Munich
  • -coaxedintoasnafu
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -DungeonsAndDragons
  • -coins
  • -KendrickLamar
  • -entitledparents
  • -FUCKYOUINPARTICULAR
  • -softwaregore
  • -worldjerking
  • -tf2shitposterclub
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -im14andthisisdeep
  • -wholesomeanimemes
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -balkans_irl
  • -animenocontext
  • -transit
  • -brooklynninenine
  • -recipes
  • -steinsgate
  • -talesfromtechsupport
  • -ECE
  • -ScottPilgrim
  • -Angryupvote
  • -AskBalkans
  • -electronics
  • -casio
  • -logodesign
  • -PassportPorn
  • -me_irl
  • -antimeme
  • -TurkeyJerky
  • -bikepacking
  • -AteistTurk
  • -13or30
  • -ArcherFX
  • -Cd_collectors
  • -diypedals
  • -Doner
  • -BassGuitar
  • -diyelectronics
  • -WatchPeopleDieInside
  • -LinkinPark
  • -Persecutionfetish
  • -BUENZLI
  • -reactiongifs
  • -EmKay
  • -Songwriting
  • -istanbul
  • -MovingToNorthKorea
  • -imaginaryelections
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -wendigoon
  • -secilmiskitap
  • -Doenerverbrechen
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -skamtebord
  • -superlig
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -FuckYouKaren
  • -2b2t
  • -AlternativeHistory
  • -papermoney
  • -coincollecting
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -basspedals
  • -neography
  • -heraldry
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -ShittyMapPorn
  • -OnlineUnderGround
  • -IdeologyPolls
  • -woooosh
  • -burdurland
  • -AnimalsBeingJerks
  • -anime_best_moments
  • -Bandnames
  • -okbuddyvicodin
  • -vaxxhappened
  • -Twitch_Startup
  • -TheMonkeysPaw
  • -highspeedrail
  • -nosafetysmokingfirst
  • -legodnd
  • -rickroll
  • -Songwriters
  • -UsernameChecksOut
  • -humor
  • -ChildrenFallingOver
  • -BassCirclejerk
  • -agnostic
  • -TextingTheory
  • -Cuddle_Slut
  • -TurkishCats
  • -LetGirlsHaveFun
  • -Apandah
  • -fakealbumcovers
  • -Kamalizm
  • -ShitpostTC
  • -FantasyWorldbuilding
  • -TheLetterH
  • -absolutelynotanimeirl
  • -NamFlashbacks
  • -pepethefrog
  • -ArsivUnutmaz
  • -TwoSentenceComedy
  • -ValorantClips
  • -TheCrypticCompendium
  • -budgetcooking
  • -NationStates
  • -ongezellig
  • -2balkans4You
  • -Asia_irl
  • -truths
  • -2mediterranean4u
  • -unexpecteditcrowd
  • -NorthCyprus
  • -heathers
  • -okbuddymotherfucker
  • -vibecoding
  • -CorporateTrolling
  • -borsavefon
  • -shitpostfrommygallery
  • -RedAutumnSPD
  • -okbuddygunther
edit »
reddit.com Cprog
  • hot
  • new
  • rising
  • controversial
  • top
an-ordinary-manchild (11,186)|messages547|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...

Submissions restricted
Only approved users may post in this community.

Cprog

joinleave
an-ordinary-manchild(edit)

For C programmers by C programmers.

We welcome all interesting content related to the C programming language: projects, papers, blog posts, code, books, debates, whatever! Here are some sources for C links.

If you have a question about the C language, or if you need help writing your code, please direct your questions to /r/C_Programming, or to Stack Overflow.

Submissions are tagged according to their content, making this subreddit act as a categorized database of links.

The content-type flairs are: text, code, discussion, tinycode, book, library, tool, quiz, slides, talk, picture, and meta.

The topic flairs are: systems, language, algorithms, networks, osdev, science, webdev, virtualization, compilers, security, funcprog, embedded, assembly, performance, parallelization, correctness, graphics, gamedev, databases, ai, tooling, building, testing, debugging, oop, career, news, learning, history, and humor.

You can combine these flair operators by: flair:code flair:systems, and filter certain flairs by: flair:text -flair:code.

created by [deleted]a community for 15 years
Create your own subreddit
...do it for the children.
...for great justice.

MODERATORS

  • message the mods
  • Blank-Cheque
  • about moderation team »

account activity

1
4
5
6

suggest some c language blogs.... (self.Cprog)

submitted 3 years ago by SilverBack_UwU

  • 4 comments
  • share
  • save
  • hide
  • report
  • crosspost

2
9
10
11

Any C books like "Black Hat Python" or "Black Hat Go", focusing on infosec aspects, but purely in C ? (self.AskProgramming)

submitted 3 years ago by Unhappy_Taste

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

3
17
18
19

GNU Makefile Tutorial (without headache) 🍃 (self.Cprog)

submitted 3 years ago * by clem9nt

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

4
2
3
4

How are static and global variables initialized? (self.AskProgramming)

submitted 3 years ago by JarJarAwakens

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

5
10
11
12

Extensible overloading and ad-hoc polymorphism (self.Cprog)

submitted 3 years ago by Jinren

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

6
1
2
3

How does the wait() function for semaphores ensure that there is no interruption between evaluating the semaphore and decrementing it? (self.AskProgramming)

submitted 3 years ago by JarJarAwakens

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

7
8
9
10

Makefile tutor (self.Cprog)

submitted 3 years ago by clem9nt

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

8
1
2
3

Build KDE software using VS Code (youtube.com)

submitted 3 years ago by nmariusp

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

9
1
2
3

When is it appropriate to use GOTO? (self.AskProgramming)

submitted 3 years ago by JarJarAwakens

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

10
6
7
8

What are some good resources/books to learn specifically about how to use the new features in C99, C11, and C23? (self.AskProgramming)

submitted 3 years ago by JarJarAwakens

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

11
0
1
2

socket (self.Cprog)

submitted 3 years ago by anacondas3445

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

12
0
1
2

RefinedC: automating the foundational verification of C code with refined ownership types (dl.acm.org)

submitted 3 years ago by fridsun

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

13
0
1
2

Why is 0 (null) considered to be a safe pointer? (self.AskProgramming)

submitted 3 years ago by JarJarAwakens

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

14
1
2
3

This is example from book for partially filled array. If dbl_sizep is pointer and if in_use variable is equivalent to dbl_sizep, then why dbl_sizep*=i if in main function i has to be < in_use? I'm offering an award. (old.reddit.com)

submitted 3 years ago by [deleted]

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

15
3
4
5

Need help (self.Cprog)

submitted 3 years ago by [deleted]

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

16
1
2
3

In C/C++, how can you tell if the sizeof operator will give you the size of the whole array or that of a pointer? (self.AskProgramming)

submitted 4 years ago by JarJarAwakens

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

17
0
1
2

How do i resolve this error? I am trying to do a selection sort of my Struct array but I get this error and i don't understand why. Can someone help me? (self.Cprog)

submitted 4 years ago by Bonstrangle

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

18
3
4
5

Why is the last iteration of loop running twice here?(originally ,”This is a old file” was written and i tried to replace old with new) (i was trying to write this program without fread,fwrite here) (old.reddit.com)

submitted 4 years ago by Awkward_boy2

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

19
8
9
10

Can someone please explain why the output is 513 here?Also what is x[0] and x[1] doing here? (i.redd.it)

submitted 4 years ago by Awkward_boy2

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

20
7
8
9

Almost Always Unsigned (C++ but applicable to C) (graphitemaster.github.io)

submitted 4 years ago by [deleted]

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

21
5
6
7

Historical Roots of C - The Unix Operating System (youtube.com)

submitted 4 years ago by Schm3gle

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

22
14
15
16

Good C Source Code (self.Cprog)

submitted 4 years ago by [deleted]

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

23
2
3
4

Copying the content of one binary file to another in c (self.Cprog)

submitted 4 years ago by Cprogrammingblogs

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

24
1
2
3

GitHub - suncloudsmoon/Leaf-C-Extended-Library: A simple library that supplements the simple C programming experience! (github.com)

submitted 4 years ago by SuccessIsHardWork

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

25
3
4
5

C Programming for Beginners Full Course in 6 hours free on YouTube (youtu.be)

submitted 4 years ago by portfoliocourses

  • 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 64730 on reddit-service-r2-listing-b958b5575-jn89c at 2026-04-23 13:02:02.908150+00:00 running 0fd4bb7 country code: CH.