Hello good morning/afternoon/evening . I am learning c as my first language . I hava some doubt please clear it . | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Hello good morning/afternoon/evening . I am learning c as my first language . I hava some doubt please clear it .

(1) If I had made some program 20 days ago then I am making that program after 20 days without seeing it and if I forgot its logic, is it very wrong? (2) when we have to make project in the end or in middle of course also ? If middle also then please tell me which project i can made if i have done if-else , loop , function , recurtions , goto , array , pointer .

28th Mar 2022, 8:34 AM
Abhay mishra
Abhay mishra - avatar
5 Answers
+ 5
1. That's what comments are for. Always comment your code. Also, "forgetting logic" is like saying forgetting how to breathe. It's your aptitude. You cannot lose it. If you do, it simply means you need to practise a bit more, just to catch up where you left and continue from there. 2. Finish learning the basics first. Then, go for a project. What project, you ask? Well, build something that solves a problem and not just for the sake of it. Identify problems around you and try to program their solutions.
28th Mar 2022, 9:09 AM
Infinity
Infinity - avatar
+ 4
Nothing wrong.. To over come it, it's suggested to add the document comments so if you or any other see it later, then they can understand it by reading comments about what the code part is doing there ...! I have codes, which i coded early in SL, I may not recall now my own logic what I was used then...! 2nd question is not understood by me. edit: learn basics well then try to implement your learnings..
28th Mar 2022, 9:02 AM
Jayakrishna 🇮🇳
+ 3
Thanks Infinity Jayakrishna🇮🇳 AKSHAY🇮🇳 you guys have solved my big doubt 🙂 .
28th Mar 2022, 11:21 AM
Abhay mishra
Abhay mishra - avatar
+ 3
No problem, when i was a new to C. I too sometimes forget the logic. To remember the logic, my suggestion is first write your program on paper and then u try to execute on the computer. This way mine has improved. I hope it works for you too. The second question i didn't understand.
29th Mar 2022, 2:58 AM
PADMINI G M S
PADMINI G M S - avatar
0
Learn, code, revise 🔁 Check out this blog also: https://towardsdatascience.com/6-best-programming-practices-f2605c5b469c
28th Mar 2022, 10:34 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar