Sign in

Recursion: Basic Concept:

In computer programming, recursion is the process in which a function calls itself.

Let’s take this example:

In this code, we calculate the x to the power of y using a recursive algorithm.

The way it works is by multiplying x, y times, each new call to function _pow_recursion decrements y (in case of y >0) or it increments y (in case of y<0).

When y reaches 0, the callings to the function stops, and we multiply by 1.


Will be posted soon!!

Will be posted soon!!

Will be posted soon!!

Will be posted soon!!


Soon, I am gonna publish this article about What happens when you type ls -l in the shell.

Soon, I am gonna publish this article about What happens when you type ls -l in the shell.

Soon, I am gonna publish this article about What happens when you type ls -l in the shell.


The official GCC logo

The GCC compiler ( gcc stands for GNU Compiler Collection ), is one of the most used compiler systems in the world and played an important role in the growth of free software basically for being under the GNU General Public License (GNU GPL).

What is a compiler?

The compiler is a peace of software that translates computer code written in one programming language into another language.

How is GCC doing it?

* Preprocessing:

The compiler runs on each C source file before actual compilation, it

1- Removes Comments

2 -Expands Macros

3- Expands of the files included to the source code

The output will be a processed .c …


we my take it for granted, but pipelines makes our lives much easier

Unix Pipelines are basically the mechanism of connecting, directly, the output of a program to the input of another program.

A brief history:

“Historically” developers did not think of connecting programs at all, in fact they used to see a program as an entity that takes gives a certain output, and that’s it.

The magic Operator “ | ” :

Linux shell provided since it’s beginning the mechanism of file redirection, whith a pretty easy syntax, but the “new invention” was the idea of putting and operator “ | ” to directly connect one programs output to another’s input, and…

Chebbi Mounir

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store