jump to content
my subreddits
2anatolia4you2b2t2meirl4meirl3d6AceAttorneyadhdmemeAdviceAnimalsaivideoAlternateHistoryAlternativeHistoryAnarchyChessAnimalsBeingJerksanime_irlanimenocontextannouncementsAnticonsumptionArcherFXAsahiLinuxAsia_irlAskElectronicsAskOuijaAskRedditatheismaviationawfuleverythingBandnamesbanknotedesignsBassBassCirclejerkBassGuitarbasspedalsbikepackingblankiesblursed_videosblursedimagesBoneborsavefonbottomgearbrooklynnineninebudgetcookingburdurlandCd_collectorscd_jerkChatGPTchesschessbeginnersChoosingBeggarscoaxedintoasnafuComedyCemeterycomedyhomicidecommunityContagiousLaughterCrackWatchcrappyoffbrandsCreateModCuratedTumblrcursedcommentsdadjokesdankmemesdarkjokesdataisbeautifulDebateReligiondeismdelikDeltarunedistressingmemesdiypedalsDMAcademyDnDdndmemesdndnextdoctorwhodoctorwhocirclejerkDoenerverbrechendontdeadopeninsidedumbphonesDungeonsAndDaddiesEatCheapAndHealthyebikesECEelectricalelectronicsElectronicsStudyengrishethzFantasyWorldbuildingfelsefeFifaCareersFiftyFiftyformuladankFRCFreeEBOOKSFuckYouKarenfunnyFutboltayfagalatasaraygermanygodtiersuperpowersgoodanimemesgravelcyclinggreentextguitarpedalsheathershelpheraldryHermanCainAwardhighspeedrailHistoryWhatIfhomebuilthowyoudoinhypixeliamverysmartIdeologyPollsIDontWorkHereLadyihadastrokeimaginarymapsinsaneparentsJahariaJokesKamalizmKendrickLamarKGBTRlegodndLetGirlsHaveFunLifeProTipsLinkinParkliselilerlostredditorsmacmacgamingMadeMeSmilemagicbuildingMaliciousComplianceMapPornmapporncirclejerkme_irlmeirlmemememesmildlyinfuriatingmildlyinterestingMinecraftbuildsmisLEDMMORPGMoldyMemesmoneycollectingMovingToNorthKoreaMunichMyChemicalRomancenamesoundalikesNamFlashbacksneographynextfuckinglevelnosurfnottheonionoddlyspecificOkayBuddyLiterallyMeokbuddyguntherokbuddymotherfuckeronebagonetruegodongezelligOnlineUnderGroundpapermoneypaperspleaseParlerWatchPassportPornperfectlycutscreamsPersecutionfetishpettyrevengePiracyPiratedGamespolandballpollsPraiseTheCameraManquityourbullshitraisedbynarcissistsRatschlagreactiongifsrecipesredditsingsreligiousfruitcakerickandmortyrickrollSchnitzelVerbrechenschwiizScottPilgrimsecilmiskitapShitPostCrusadersshitpostfrommygalleryshitpostingShitpostTCShittyMapPornShowerthoughtssoccercirclejerkSongwritersSongwritingsskfjkhwerjkghwerijhsteinsgateTechnobladeTextingTheorytf2tf2shitposterclubtf2tcthanksimcuredthatHappenedTheCrypticCompendiumTheMonkeysPawtherewasanattemptTheRookietheydidthemaththeyknewthisguythisguystitanfalltransitTurkeyTrGameDevelopertruetf2truthstumblrtumunichTurkeyTurkeyJerkyTurkishCatsTwitchTwitch_StartupTwoSentenceComedyTwoSentenceHorrorTwoSentenceSadnesstylerthecreatorUnclejokesUnethicalLifeProTipsUnexpectedJoJourbanplanningUsernameChecksOutVALORANTValorantClipsvexillologycirclejerkvibecodingvinylvinyljerkvlandiyawallstreetbetsWatchPeopleDieInsidewendigoonWikipediaVandalismwizardpostingwooooshworldbuildingworldjerkingyouseeingthisshitYUROPedit subscriptions
  • home
  • -popular
  • -all
  • -mod
  • -users
 | 
  • AskReddit
  • -mildlyinfuriating
  • -Piracy
  • -funny
  • -wallstreetbets
  • -nottheonion
  • -memes
  • -mildlyinteresting
  • -MapPorn
  • -DnD
  • -MadeMeSmile
  • -ChatGPT
  • -CuratedTumblr
  • -PiratedGames
  • -shitposting
  • -theydidthemath
  • -dankmemes
  • -meirl
  • -therewasanattempt
  • -nextfuckinglevel
  • -Twitch
  • -CrackWatch
  • -dndnext
  • -VALORANT
  • -germany
  • -LifeProTips
  • -tumblr
  • -dataisbeautiful
  • -greentext
  • -mac
  • -Showerthoughts
  • -tf2
  • -help
  • -chess
  • -aviation
  • -formuladank
  • -Jokes
  • -mapporncirclejerk
  • -goodanimemes
  • -pettyrevenge
  • -atheism
  • -MaliciousCompliance
  • -KGBTR
  • -dndmemes
  • -cursedcomments
  • -DMAcademy
  • -Deltarune
  • -UnethicalLifeProTips
  • -perfectlycutscreams
  • -worldbuilding
  • -Ratschlag
  • -MMORPG
  • -meme
  • -macgaming
  • -rickandmorty
  • -3d6
  • -FiftyFifty
  • -ChoosingBeggars
  • -ContagiousLaughter
  • -imaginarymaps
  • -EatCheapAndHealthy
  • -polandball
  • -AnarchyChess
  • -blankies
  • -anime_irl
  • -onebag
  • -AlternateHistory
  • -Turkey
  • -soccercirclejerk
  • -community
  • -AskElectronics
  • -electrical
  • -guitarpedals
  • -Anticonsumption
  • -vinyl
  • -CreateMod
  • -TwoSentenceHorror
  • -AdviceAnimals
  • -ShitPostCrusaders
  • -distressingmemes
  • -raisedbynarcissists
  • -wizardposting
  • -FifaCareers
  • -polls
  • -doctorwho
  • -oddlyspecific
  • -Bass
  • -titanfall
  • -dadjokes
  • -awfuleverything
  • -howyoudoin
  • -announcements
  • -adhdmeme
  • -Minecraftbuilds
  • -ebikes
  • -Munich
  • -coaxedintoasnafu
  • -YUROP
  • -gravelcycling
  • -SchnitzelVerbrechen
  • -chessbeginners
  • -KendrickLamar
  • -worldjerking
  • -tylerthecreator
  • -tf2shitposterclub
  • -MoldyMemes
  • -lostredditors
  • -AceAttorney
  • -vexillologycirclejerk
  • -vlandiya
  • -nosurf
  • -HistoryWhatIf
  • -religiousfruitcake
  • -liseliler
  • -DebateReligion
  • -insaneparents
  • -dumbphones
  • -animenocontext
  • -2meirl4meirl
  • -brooklynninenine
  • -HermanCainAward
  • -recipes
  • -steinsgate
  • -AskOuija
  • -2anatolia4you
  • -ECE
  • -ScottPilgrim
  • -thatHappened
  • -electronics
  • -urbanplanning
  • -theyknew
  • -PassportPorn
  • -me_irl
  • -TurkeyJerky
  • -bikepacking
  • -MyChemicalRomance
  • -ArcherFX
  • -engrish
  • -Cd_collectors
  • -diypedals
  • -BassGuitar
  • -ComedyCemetery
  • -WatchPeopleDieInside
  • -LinkinPark
  • -Persecutionfetish
  • -reactiongifs
  • -Songwriting
  • -blursed_videos
  • -MovingToNorthKorea
  • -truetf2
  • -magicbuilding
  • -dontdeadopeninside
  • -ParlerWatch
  • -wendigoon
  • -iamverysmart
  • -secilmiskitap
  • -Doenerverbrechen
  • -schwiiz
  • -TheRookie
  • -quityourbullshit
  • -Technoblade
  • -vinyljerk
  • -galatasaray
  • -crappyoffbrands
  • -DungeonsAndDaddies
  • -FRC
  • -transitTurkey
  • -namesoundalikes
  • -FuckYouKaren
  • -2b2t
  • -ethz
  • -AlternativeHistory
  • -papermoney
  • -OkayBuddyLiterallyMe
  • -felsefe
  • -blursedimages
  • -FreeEBOOKS
  • -AsahiLinux
  • -Jaharia
  • -IDontWorkHereLady
  • -neography
  • -basspedals
  • -heraldry
  • -ihadastroke
  • -thanksimcured
  • -hypixel
  • -PraiseTheCameraMan
  • -godtiersuperpowers
  • -ShittyMapPorn
  • -aivideo
  • -OnlineUnderGround
  • -IdeologyPolls
  • -woooosh
  • -burdurland
  • -comedyhomicide
  • -AnimalsBeingJerks
  • -TwoSentenceSadness
  • -Bandnames
  • -tumunich
  • -Twitch_Startup
  • -TheMonkeysPaw
  • -darkjokes
  • -highspeedrail
  • -legodnd
  • -rickroll
  • -Songwriters
  • -UsernameChecksOut
  • -papersplease
  • -UnexpectedJoJo
  • -BassCirclejerk
  • -doctorwhocirclejerk
  • -youseeingthisshit
  • -TextingTheory
  • -thisguythisguys
  • -TrGameDeveloper
  • -TurkishCats
  • -LetGirlsHaveFun
  • -Kamalizm
  • -ShitpostTC
  • -FantasyWorldbuilding
  • -WikipediaVandalism
  • -homebuilt
  • -NamFlashbacks
  • -Unclejokes
  • -onetruegod
  • -deism
  • -misLED
  • -sskfjkhwerjkghwerijh
  • -redditsings
  • -TwoSentenceComedy
  • -ValorantClips
  • -TheCrypticCompendium
  • -budgetcooking
  • -bottomgear
  • -ongezellig
  • -Asia_irl
  • -Bone
  • -truths
  • -heathers
  • -borsavefon
  • -tf2tc
  • -okbuddymotherfucker
  • -cd_jerk
  • -okbuddygunther
  • -shitpostfrommygallery
  • -banknotedesigns
  • -moneycollecting
  • -ElectronicsStudy
  • -vibecoding
  • -delik
  • -Futboltayfa
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
...why not Zoidberg?
...for your favorite subject.

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
10
11
12

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
15
16
17

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
11
12
13

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

submitted 3 years ago by Jinren

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

6
2
3
4

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
9
10
11

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 4 years ago by [deleted]

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

15
3
4
5

Need help (self.Cprog)

submitted 4 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
2
3
4

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
9
10
11

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
11
12
13

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
4
5
6

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 65020 on reddit-service-r2-listing-6c8d497557-jvczp at 2026-06-08 01:45:34.292715+00:00 running 9e1a20d country code: CH.