This time we will stop and see what C language can do. C (pronounced like the letter C) is a general-purpose computer programming language developed between 1969 and 1973 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.
Although C was designed for implementing system software,it is also widely used for developing portable application software.
C is one of the most widely used programming languages of all time and there are very few computer architectures for which a C compiler does not exist. C has greatly influenced many other popular programming languages, most notably C++, which began as an extension to C.
Today, I will try to explain you how C works, and what you need to know.
Fundamental Data Types
There are four basic arithmetic types:
But, if you want to be more specific, you can add one of the following keyword:
You can determine the number of bytes used to represent a date, using the sizeof operator.
sizeof (long int); // return 4 sizeof (unsigned char); // return 1 sizeof (long double); // rerutn 10
– are represented by one or more characters enclosed in single quotes, eg ‘a’, ‘A’, ‘\ n’.
Because is to much to write I’m not going to teach you step by step C, but in the following tutorials I will make some simple programs, and I’m sure that you will understand how C works. So, see you next time, when I will make some simple algorithms.