|
|
|
Free
|
C language is a middle level language. It is a structured language. C language is a case sensitive language. All syntax written in c language is in lower case. C is the basis for C++.
|
|
|
|
Data types used in C LanguageC lang is easy to understand. Only what matters is the way you see it. In C, all variables must be declared before they can be used. In other words, you should tell the compiler to associate a type with each variable let see the following program.
variables- x, y,r,w,f and the constant -vj. We also initialized the values of variables w and f to 7 and 4 respectively, and the value of vj to 55. Declaration statement for a variable looks like
To declare a constant you should add the word const after or before the type of the constant. The following declarations are identical.
The most fundamental data types in C are:
The integral types are designed for working with the integer values.
The data type int is the principle working type of the C language. For example
COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM |
|