Explain the important features of ‘C’ language. Mention the types of applications which can be developed using C. List any three ‘C’ compilers. 10m Dec2005
Features of ‘C’ language:-
C is a general purpose, structured programming language. C programming is widely used in computer Technology.
· Low Level Features:
C programming provides Low level features that are generally provided by the Lower level languages. C is closely related to Lower level Language such as “Assembly Language”.
It is easier to write assembly codes in C programming.
C Programs are portable i.e. they can run on any Compiler with little or No Modification.
Compiler and Preprocessor make it possible for C Programs to run it on Different Platforms.
Provides wide verity of “Data Types”
Provides wide verity of “Functions”
Provides useful Control and Loop Control Statements
· Bit Manipulation
C Programs can be manipulated using bits. We can perform different operations at bit level.
It provides wide verity of bit manipulation Operators. We have bitwise operators to manage Data at bit level.
· High Level Features:
It is more User friendly as compare to Previous Languages. Previous languages such as BCPL, Pascal and other programming languages never provide such great features to manage data.
Previous languages have their Pros and Cons but C Programming collected all useful features of previous languages thus C become more effective Language.
· Modular Programming:
Modular programming is a software design technique that increases the extent to which software is composed of separate parts, called Modules.
C Program consist of different modules that are integrated together to form complete program.
· Efficient Use of Pointers:
Pointers have direct access to memory.
C supports efficient use of pointer.
· More Efficient:
C Programming language is more efficient to Other languages.
Application Developed in C Programming are:-
1. C language can be used for creating computer applications
2. Can be used in writing Embedded software
3. Firmware for various electronics, industrial and communication products which use Micro-Controllers
4. It is also used in developing verification software, test code, simulators etc.
5. For Creating Compilers of different languages.
6. C is used to implement different Operating System Operations.
7. Unix kernel is completely developed in C Language.
Three ‘C’ compilers:-
1. Turbo C++
2. Borland C++
3. Visual C++
Write a Program in ‘C’ to perform multiplication of two matrices A and B. 10m Dec2005
Solved program can be found on this link http://cssimplified.com/c-programming/an-interactive-c-program-to-add-two-matrices-or-subtract-two-matrices