THE ART OF C PROGRAMMING
by Subhajit Ghosh


What, another column on C programming?

By now, you must have realised how essential it's to have a sound base in C programming to graduate
to C++ and Java programming. In that respect, I guess another column by a different writer would be
more helpful in clearing the concepts, since I believe the treatment of the writers are usually different.

Most of the books available in the market fill up most of their pages with the theoritical aspects, not
always backing them up with relevant and suitable examples. As a consequence, the student often
finds themselves having several doubts persisting in their minds. This leads to greater problems as a
student progresses through the C topics encountering harder concepts and techniques, and finds himself
lost in the intricacy of the C language. I will attempt to illustrate the concepts in as simple a language
as possible, without compromising on the content and substance.

I will try to incorporate as many illustrations as possible for each and every technique keeping in mind
I cover all aspects of C programming, starting from the rudimentary concepts. My endeavour will
be to elevate you to a position from where you would be able to expertly program in C. So, let's
get started, shall we?

The first example is a simple program to display a message. Here is a way to write it with C program
code.

#include stdio.h
main()
{
/* main */
printf(" This is your very first C program");
}

When this program is run ( after compiling and linking, of course ) one line of information is displayed
on the screen:

This is your very first C program.

----------------- o -----------------------