Currently browsing

July 3, 2012

Break the 816bit habit

Break the 8/16-bit habit Most people, including me, like to get stuff for free. Electronic component manufacturers know this and often they offer free samples in the hope that their parts get designed in. Microcontroller manufacturers have started doing design contests and other campaigns to get new users for their …

C Programming Iteration through different loops

C Programming: Iteration through different loops Suppose you are given a problem to display ‘C programming is fun’ 500 times.  One way of doing this problem is to display ‘C programming is fun’ 500 times using printf() functions. Think yourself, how it takes to display it using printf() 500 times?  …

Difference between array and pointer in CC

Difference between array and pointer in C/C++ Pointer Array 1. A pointer is a place in memory that keeps address of another place inside 1. An array is a single, pre allocated chunk of contiguous elements (all of the same type), fixed in size and location. 2. Pointer can’t be …