Pointers In C

Hi friend this is going to be a series of tutorials, as pointer plays a very important role in embedded development. In this tutorial we are going to cover from basics to advance. As we all know pointers are little tricky, but if you practice it properly then a very power full tool for embedded development.  Before going to pointers, first take a look into this basic concept.

Read more

Basic Structures in C

Structures are one of the data type available in C language. As you know, this is also an user defined data type. It is like to hold multiple number of variables as a bundle like an array but the only difference between arrays and structures is

Read more

Dynamic memory allocation in C

Hi friends today we are going to discuss about dynamic memory allocation, this plays a very important role in embedded development. Specially when your product is based on data entry type of application.

Dynamic allocation is a unique feature to C language. Dynamic memory allocation allows a program to obtain more memory space, while running or to release space when

Read more

Switch case in C

Hi friends here comes one of the important tutorials in C, switch case. Switch case statement is a multi way decision statement; it is as similar as a multiple decision statements by using if-else. Switch statement evaluates the conditional expression and tests it again

Read more

Loops in C Part I

Looping constructs are used to repeat a section of code a number of times, depending on some condition being either true or false in other words Loops are basically means to do a task multiple times, without actually coding all statements over and over again. This section will discuss the use of control statements in C. We will show how they can be used to write powerful programs by;

Read more

Bit Manipulation in embedded

Hi Guy’s this is another important tutorial on Bitwise Operators. Knowledge of Hexadecimal and Binary Numbering system is required along with conversion from binary to hex and vice-verse. We are going to discuss about nibble, bit, byte, word, bitwise operators etc.

There are basically 6 types of Bitwise operators, as follow:

Read more

Looping in c

In every programming language, thus also in the C programming language, there are circumstances were you want to do the same thing many times. For instance you want to print the same words ten times. You could type ten printf function, but it is easier to use a loop. The only thing you have to do is to setup a loop that execute the same printf function ten times.

There are three basic types of loops which are:

Read more