Published on Sun, 16 Jan 2011 23:27:48 -0500 Read: 2588 times
Basic Memory Management; Allocating and Resizing a Buffer
There are times when you don't know ahead of time how large of a buffer you need. The following code shows one approach to dynamically allocating and resizing a buffer. Note that passing a NULL pointer to "realloc" has the same effect
Filed in: C Difficulty Level: Beginner
Published on Tue, 09 Nov 2010 16:11:38 -0500 Read: 6553 times
logical operators plays a bit2bit operations.&operators chechs whether the bit is present at perticular position or not. if 1 is at lsb(right most in binary) then that no is odd.
Filed in: C Difficulty Level: Intermediate
Published on Fri, 01 Oct 2010 00:05:10 -0400 Read: 3057 times
On my old Dell PC, this program (with a bug in it) ran for five hours before it exhausted all possibilities and quit. After I fixed the bugs, it took 20 minutes to find the solution. It only took about an hour to write and debug. I just wanted to see how long it would take to find the answer.
Filed in: C Difficulty Level: Beginner
Published on Tue, 24 Aug 2010 07:20:04 -0400 Read: 6681 times
C Programme to Print Without Semi colon
Filed in: C Difficulty Level: Beginner
Published on Tue, 03 Aug 2010 06:31:38 -0400 Read: 11025 times
This is about polynomial addition using linked list.
Filed in: C Difficulty Level: Intermediate
Published on Tue, 03 Aug 2010 06:17:41 -0400 Read: 4216 times
Single linked list inplementation using different functions
1. Insert a number at the beginning
2. Insert a number at last
3. Insert a number at a particular location in list
4. Print the elements in the list
5. Print the total number of elements in the list
6. Delete a node in the linked
Filed in: C Difficulty Level: Intermediate
Published on Tue, 03 Aug 2010 06:12:45 -0400 Read: 3963 times
This a sample program of double linked list! the advantage of double over single is that singly linked list has the node inserted only at one end. and the pointer corresponds to the next pointer. but in a doubly linked list, the node pointer points to the both previous and the next node. singly linked
Filed in: C Difficulty Level: Intermediate
Published on Tue, 18 May 2010 02:49:30 -0400 Read: 6426 times
Program to find out an adam number using the concept of arrays
Filed in: C Difficulty Level: Beginner
Published on Wed, 07 Apr 2010 01:06:34 -0400 Read: 3588 times
Dichotomous Search Method
Filed in: C Difficulty Level: Intermediate
Published on Sun, 24 Jan 2010 06:20:10 -0500 Read: 2255 times
Character Formation Using Lines with Various Sizes
This program will produce characters of UPPER CASE alphabets alone, using basic line. A big adventage is that u can change the font size of the character. This program comes under the category of GRAPHICS
Filed in: C Difficulty Level: Intermediate