(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
Introduction to c programming
1. Introduction to C programming
Project done by:
Aparemya Padhi
Atharva Nimbane
Harsh Dhamange
Aditya Upadhye
Sivant Kolhe
2. Introducing C
• C is a programming language developed at AT&T Bell
laboratories of USA in 1972, Designed & written by
“Dennis Ritchie”.
• C is highly portable i.e., software written for one
computer can be run on another computer.
• An important feature of ‘C’ is its ability to extend itself.
3. Features of C
A C program is basically a collection of functions
• Portability : Independent of Platforms
• Modularity : Breakdown into smaller modules
• Flexibility : Programmer’s control on language
• Speed : More speed compared to other languages
• Extensibility : Extendable
• Compactness : Precise use of reserve words
• Case Sensitive : Differentiation of characters
4. History of C
• The origin of C is closely tied to the development of the UNIX
operating system, originally implemented in assembly language on a
PDP-7 by Ritchie and Thompson.
• When PDP-11 version was developed in assembly language, the
developers were considering to rewrite the system using the B
language.
• However, B’s inability to take advantage of the PDP-11’s features,
notably byte addressability, led to C.
5. History of C {continued}
• The development of C started in 1972 on PDP-11 Unix system and
first appeared in Version 2 Unix.
• The language was not initially designed with portability in mind, but
soon ran on different platforms as well.
• Also in 1972, a large part of UNIX was rewritten in C.
• By 1973, with the addition of struct types, the C language had
become powerful enough that most of the UNIX’s Kernel was now
in C.
6. FEATURES OF C-PROGRAMMING (in
DETAIL)
• C Programs are portable i.e. they can be run on any Compiler with
Little or no Modification
• It is easier to write assembly language codes in C programming.
• It provides wide verity of bit manipulation Operators. We have
bitwise operators to manage Data at bit level.
• C Program Consist of Different Modules that are integrated
together to form complete program
• C Programs can be manipulated using bits. We can perform
different operations at bit level. We can manage memory
representation at bit level.
7. USES OF C-PROGRAMMING
• C is widely used for:-
• System programming, including implementing operating
systems and embedded system applications
• Website programming using CGI as a "gateway" for information
between the Web application
• As an intermediate language by implementations of other
languages.
• The GNU Multiple Precision Arithmetic Library, the GNU
Scientific Library, Mathematica and MATLAB are completely or
partially written in C.
• Implement end-user applications
8. DISADVANTAGES OF C
PROGRAMMING
• There are a very few disadvantages of C programming and are also
fixed in its updates.
• These are the disadvantages:
1. Object Oriented Programming Features (OOPS)
2. Run Time Type Checking is Not Available
3. Namespace Feature
4. Constructor and Destructor is not available
9. Object Oriented Programming Features (OOPS)and Run Time
Type Checking is Not Available
• Object Oriented Programming Features is missing in C
Language, You have to develop your program using
procedure oriented language only.
• In C Language there is no provision for run time type
checking, for example I am passing float value while
receiving parameter is of integer type then value will be
changed, it will not give any kind of error message.
10. Namespace Feature and Constructor and Destructor is not
available
• C does not provides namespace features, so you can't able to use
the same variable name again in one scope. If namespace features
is available then you can able to reuse the same variable name.
• C does not provides object oriented features, so it don't have
Constructor and Destructor features. Constructor and Destructor
is used to construct object and destroy object. So in C Language
you have to implement manually construction and destruction of
the variable using function or by other means.