There are several answers to your question and many other answers on this page. But there is another question that has not yet been addressed: why are you asking this question in a web forum, no matter how many programmers fill it in?
You have a great tool at your disposal to automatically answer such questions, and you use it all the time: your C compiler! You just need to formulate the question correctly.
If you donโt understand something, try building a small program to check some logic and see what happens. Just keep a simple pattern around (I like ~ / tmp / hello_world.c). When you have a question, just make a copy (say ~ / tmp / zerotest.c), add some function that you want to try (for example, printf("Answer: %d\n", 0 < 0); ), and run it until you understand what is happening.
I do this all the time. Even when I am working on another project, sometimes I turn out pieces of logic into a small file and play with it there until I understand. Here's what it means: find an effective way to teach yourself the language. Do not be afraid to experiment. It is very unlikely that you will hit anything together that will destroy your system. And even if this happens, Iโm sure that you too can learn something from this experience.
Get in the habit of experimenting. This is a skill that you will use for the rest of your programming career.
source share