C Tutorial

C is a general-purpose, procedural, imperative computer programming language developed in 1972 by Dennis M. Ritchie at the Bell Telephone Laboratories to develop the UNIX operating system. … This tutorial is designed for software programmers with a need to understand the C …

What is C Language? C Tutorial

C is general-purpose, structured programming language, developed by Denis Ritchie in 1972 at Bell lab USA. Its instructions consist of terms that resemble algebraic expressions, augmented by certain English keywords such as if, else, for, do and while. In this respect C resembles other high-level structured programming languages such as Pascal and FORTRAN. C also …

What is C Language? C Tutorial Read More »

Description of C code window

Introduction to C Description of C code window 1. =: Interface to external programs. 2. File: File related option such as opening and saving file. 3. Edit: Cut,Copy,Paste operation. 4. Search: Find,Find & Replace operation. 5. Run: Compile and run the file currently loaded in the text editor. And debugging such as setting/clearing trace points can be performed from this menu. 6. Compile: The menu item compiles a …

Description of C code window Read More »

The components of C language

There are five main component of C language are: 1. The character set: Any alphabet ,digit or special symbol ,used to represent information is denoted by character. The character in C are grouped into four categories. 1 Letters A…Z and a…z 2 Digits 0,1,2,…..9 3 Special Symbol ~,`,!,@,#,$,%,^,&,*,(),.,<,>,?,/,”,:,;,{},[] 4 White Space blank space, Carriage return, form …

The components of C language Read More »

A sample of C language program

Example of C program to calculate area of circle: Explanation of above program : # is the preprocessor directive which commands that the content of file should be included at the time of compilation. < stdio.h> is the header file which contains all input and output functions like scanf(), printf() which are frequently used in c programs. main() is the first function which is executed …

A sample of C language program Read More »

Rules for constructing variables names In C Programming Language

There are some specific rules for constructing variable names in C language: (a) Variable name may be a combination of alphabet digits or underscores and its lengths should not exceed 8 characters, some compilers allow 40 characters also. (b) The first character must be an alphabet. (c) No comma, blank spaces are allowed in variable …

Rules for constructing variables names In C Programming Language Read More »