home.social

#learningc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #learningc, aggregated by home.social.

  1. Today, I learnt that when using a descending loop variable, it should never be unsigned; otherwise, there will be an overflow when decrementing. It's an exciting mistake and a cool realisation!

    #C #Clang #LearningC #LessonLearned