. . . . . . . . . Student Segment

Programming in C is a tremendous asset in those areas where you may want to use assembly language, but would rather keep it a simple to write and easy to maintain program. C does have a few surprises Many High level languages, like PASCAL, are highly disciplined and structured. C is much more flexible and free-wheeling. This freedom gives C much more power that experienced users can employ.

 

Characteristics of C: We briefly list some of C's characteristics that define the language and also have lead to its popularity as a programming language.

  • Small size

  • Extensive use of function calls

  • Loose typing -- unlike PASCAL

  • Structured language

  • Low level (Bitwise) programming readily available

  • Pointer implementation - extensive use of pointers for memory, array, structures and functions.

C has now become a widely used professional language for various reasons.

  • It has high-level constructs.

  • It can handle low-level activities.

  • It produces efficient programs.

  • It can be compiled on a variety of computers.

Note: There is no Boolean type in C - you should use char, int or (better) unsigned char. You can declare the const before or after the type. Choose one an stick to it. It is usual to initialize a const with a value as it cannot get a value any other way. The preprocessor # define is another more flexible method to define constants in a program. You frequently see const declaration in function parameters. This says simply that the function is not going to change the value of the parameter.

 

Basic Concepts of C

Tutorial of C