A class is a custom data type, In python, we can create custom classes that are fully integrated and that can be used just like the built-in data types. For example, dict, int and str.


A recursive function is a function which calls itself.

It sounds like a simple concept, but in practice it can be hard to get your head around.

Here’s a lovely example of a recursive function:

void ExplainRecursion () {  
var explained = GetInput(“Do you understand recursion yet?”);
if (!explained) …

Everything(all values) in Python is an object or a class. What does it mean exactly? Everything is an object in the sense that it can be assigned to a variable or passed as an argument to a function. Almost everything has attributes and methods.

For example an integer in Python…


f you create a program in the C programming language, you will most certainly come to appreciate the usefulness of libraries. To simplify, libraries contain lots of information that you can use over and over again in many programs, thereby making your life easier because you don’t have to recreate…


What happens when you type ls -l in the shell

In this assignment, you will implement a command line interpreter or, as it is more commonly known, a shell.


Integers are whole numbers which will be stored in computer using 4 bytes (32 bit) of memory.

Example

65

Binary equivalent of 65 is (1000001) 2 .

The MSB (most significant bit) bit is used to indicate whether the number is positive or negative.

For positive numbers MSB will be 0.


In order to understand the code presented we have to clarify the concept of obfuscation. So the obfuscation in programming is the act of create code or machine code difficult to understand. This practice is used for protect the intellectual property or difficult the realization of reverse engineering.

The code…


Let’s dive into a short bit of C source code:

#include <stdio.h>int main(void)
{
printf("Hello, World\n");
return (0);
}

At the top, we included <stdio.h>, the standard input output header, in which the printf function is declared.

What Are Header Files and What Are Libraries

Header files, such as stdio.h, contain function declarations and macro definitions to be…


The C programming language, which was created by Dennis Ritchie, is one of the most used programming languages in the world. It is a very popular programming language for many programmers because it can be applied to many programs without any hindrance.

The journey of a C program can seem…


What is the difference between a hard link and a symbolic link?

Hard links and symbolic links are two different methods to refer to a file in the hard drive. These methods are part of the filesystem that organizes what file is what and where. A hard link is essentially a synced carbon copy of a file that refers directly to the…

Leopoldo Luna

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