Features
of ‘C’
Although ‘C’ is one of the elder language to be known, it
have some Features that were exclusively present in the Language, ‘C’ became
the first Language to possess some of the following Features.
Ø
SIMPLE: ‘C’ is a simple language with a structural
approach, which means it have ability to divide problems into meaningful parts.
Functions (), Data types and rich library makes it simple.
Ø
PORTABLE
(MACHINE INDEPENDENT): ‘C’ is a machine independent language, which
means it have WORA (Write Once Run Anywhere) property, thus a program written
on one OS or device can run on any other OS or device, with none or negligible
modifications.
Although ‘C’ was developed to work on UNIX Platform, but later on it became Portable.
Ø
RICH LIBRARY: ‘C’ provides a
rich library with lot of pre-defined functions which make development of a
program easy.
Ø MEMORY MANAGEMENT: ‘C’ have
better memory management since it provides Dynamic Memory Allocation and allocated
memory can be cleaned anytime by calling free() function.
Ø SPEED FACTOR:
‘C’
have faster compilation and execution timing.
Ø EXTENSIBLE: ‘C’ is
extensible language, Since it can easily
adopt new features and extend its approach.
Ø MODULARITY: The problem
can be divided into various modules or parts called as Functions ().
Ø RECURSION: Its means a Function can call itself.
This feature provides re-usability of code in the Function.
Ø POINTERS: ‘C’ provides pointers to
interact directly with the memory, pointers are used for arrays, structures, memory and functions.
Comments
Post a Comment