Posted on May 25th, 2008 by admin
An operator is a symbol that operates on a certain data type and produces the output as the result of the operation. In C, you can combine various operators of similar or different categories and perform an operation. In this case the C compiler tries to solve the expression as per the rules of precedence.
[…]
Filed under: C Programming, C Tutorials | No Comments »
Posted on May 25th, 2008 by admin
Constant
A constant can be defined as “a quantity that does not change during the execution of a program”.
#include <stdio.h>
void main(void)
{
int a = 10;
printf(“%d”,a);
}
Program Output
10
Here we are declaring a variable a with its initial value 10. 10 here is an […]
Filed under: C Programming, C Tutorials | 1 Comment »
Posted on May 22nd, 2008 by admin
In this C Tutorial we will learn what Fundamental Data Types are and how to use them.
We develop programs to accept an input from the user and then run the input through a series of processes and produce the output on screen or on the printer, etc.
[…]
Filed under: C Programming, C Tutorials | No Comments »
Posted on May 18th, 2008 by admin
As a programming language, C is rather like Pascal or Fortran. Values are stored in variables. Programs are structured by defining and calling functions. Program flow is controlled using loops, if statements and function calls. Input and output can be directed to the terminal or to files. Related data can be stored together in arrays […]
Filed under: C Programming, C Tutorials | 2 Comments »
Posted on October 15th, 2007 by admin
I write this post to help you understand what pointers are and how they are used.
I remember from my early college days when a ‘C’ pointer used to be a nightmare and I believe for many, it still is. I hope that this guide will help you understand Pointers in ‘C’ more clearly.
Before we begin […]
Filed under: C Programming | 1 Comment »