Why This Simple C Program Always Returns TRUE! (Common Beginner Mistake)

Ever wondered what happens when you accidentally use the assignment operator (=) inside an if condition in C program instead of the equality operator (==)?This quick C tutorial demonstrates how a tiny typo can completely change the behavior of your code. In this C interview question you’ll learn the following: The if C program question … Read more

Prime Number Program in C

Prime Number Program in C

Prime number Program in C is a very interesting case that give you the opportunity to learn logic building or thinking, reasoning while you are learning the basics of programming. Most other websites just give you the same program but in this article I will of course explain the program but also explain some more … Read more

Leap Year Program in C

Leap Year Program in C

When you write the leap year program in C you will understand about converting mathematical requirement into code logic. It is important first to understand what a leap year is, it is then only we will be able to write a C program on it. Let’s take a look. Understanding a Leap Year In a … Read more