Category: C Programming

Squaring a Value

Could the C language use a square() function or operator? Continue reading →

Read More

What’s Next, Keyboard?

Sometimes a program needs to check to see whether a key has been pressed without reading that key. Continue reading →

Read More

C Program implementing Lagrange Interpolation Form...

In numerical analysis, Lagrange polynomials are used for polynomial interpolation. For a given set of distinct points Xi and numbe...

Read More

Bisection Method – Algorithm, Flowchart and Code i...

The bisection method is one of the simplest and most reliable of iterative methods for the solution of nonlinear equations. This m...

Read More

Top 30 Best IDEs and Compilers for C/C++

If you’re interested in learning to program in C/C++ you’ll find this list of C/C++ Compilers handy. Here I have list of Top 30 Be...

Read More

Nested Structure in C Programming with example

In this tutorial you’ll be learning about struct types or structure and an example of Nested Structure in C Programming. In C prog...

Read More

How to remove Character from String in C using Poi...

Our mission is to learn how to remove character from string in C using Pointer. Let me think how, so we need to write a function t...

Read More

Positive Negative Positive Negative

Sometimes in math, things happen like this: +1 -1 +1 -1 +1 -1 Continue reading →

Read More

A Nifty Little Test

Evaluating the result of a comparison. Continue reading →

Read More

Positive Negative Positive Negative – Solution

This month’s Exercise presents what I often refer to as a code “toggle.” Many paths lead to a solution. Because of my interest in ...

Read More

Peering into the Environment

The environment lists system variables and values your program can access. Continue reading →

Read More

Creating Your Own Environment Variables

A program can add a variable to the environment — and remove it as well. Continue reading →

Read More

Fun with switch case, Part I

The switch-case construction has some interesting quirks. Continue reading →

Read More

Calculating the Subfactorial

Also known as "derangement." Have fun with that. Continue reading →

Read More

Fun with switch case, Part II

The default condition in a switch-case structure is optional, but that's not its only quality. Continue reading →

Read More

Calculating the Subfactorial – Solution

Do you feel adequately deranged working this month’s Exercise? I’m more of a math fanboy than an expert, yet I enjoyed the process...

Read More

The alloca() Function

Here's a function you can use when you need to forget to free memory on purpose. Continue reading →

Read More

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies Find out more here