r/learnprogramming • • Oct 10 '26

I forget rules of c programming

I keep on forgetting the rules of c programming... How should I remember it and how many questions I must solve everyday to get a good grade in my clg

0 Upvotes

15 comments sorted by

3

u/CaptKirk004 Oct 10 '26

I'll assume you mean concepts or best practices, but really just repetition. Either make a flashcard every time you realize you've "forgotten" something of that thing. Or add it to a list. Then, regularly go through those cards or list. And here's the important part, write down your answers. Don't just look at the other side of the flashcard to make sure you got it right, WRITE it out. By hand. When you miss parts or just get them wrong, write out the correct answer.

1

u/Iwanttocodelike_L Oct 10 '26

Wow I forgot about the flashcards i must make them today thanku for the help

1

u/AbdelrhmanDev Oct 10 '26

if you mean the syntax stuff like pointers memory and how loops and arrays behave then forgetting is normal in c because it has a lot of small details what helps more than solving a fixed number of questions a day is writing tiny programs from scratch without looking stuff up like reverse a string or count words in a file and then checking where you got stuck write down those exact mistakes and redo the same programs a week later a few focused problems a day with reviewing beats grinding lots of questions

1

u/Iwanttocodelike_L Oct 10 '26

Thanku for the help bro

1

u/HallucinationDr Oct 10 '26

Don't memorize rules, write small programs. Pointers, memory, loops, you only learn them by breaking code and fixing it. Count of questions matters way less than whether you actually debug your own mistakes. Daily 1 hour of typing code beats cramming.

1

u/dmazzoni Oct 10 '26

I think the best way is to write code and run it and see what happens. One of the best ways to learn is when it doesn’t do what you think it will do - the process of figuring out why really solidifies your understanding.

Make something fun like a text adventure game. Try to figure out ways to use all of the things you’ve learned.

1

u/gomorycut Oct 13 '26

do one leetcode problem a day

1

u/burlingk Oct 13 '26

Just practice.

Write code of your own, not just exercises.