Saturday, April 2, 2016

C Programming – Introduction to C Language


C programming is a language developed by AT & T’s Bell Laboratories of USA in 1972.C programming was designed and written by a man named Dennis Ritchie. C programming is reliable, simple and easy to use. C has survived for more than 3 decades. C programming language is a base to learn different programming language.
If you want to learn C++ or JAVA, without the knowledge of C programming it becomes very difficult to learn these programming languages. Many major components of popular operating systems like Windows, UNIX, LINUX is still written in C.
Nothing beats C programming in terms of speed of execution.
Before starting with the programming, let’s have a look at the C programming Character set.

C programming character set

Any alphabet, digit or special symbol can be termed as a character. Below table shows list of valid alphabets, digits and symbols allowed in C.
Alphabets:
1. A, B, C, ... , X, Y, Z
2. a, b, c, ... , x, y, z
Special Symbol
~ ! @ # % ^ & * ( ) _ - + = | \ { }
[ ] : ; " ' < > , . ? /



Following are the basic data types in C programming:
  1. Numeric data type: deals with numeric data such as integer or float data type
  2. Non-numeric data type: deals with non numeric data such as characters
  3. Integer data type: deals with integer or whole number
  4. Real data type: deals with numeric data that includes fractions
  5. Enumerated data type: These data types are defined by the user

C programming is awesome to learn. Initially, while starting with C programming tutorial, you might find it bit difficult. But, once you get hold of it, you will find C programming very easy. So the key takeaway is if you want to learn C programming, don’t loose hopes. If you have any questions related to C programming then please feel free to post your comments.

0 comments:

Post a Comment