C is a general-purpose, high-level language that was originally developed by Dennis M. Ritchie to develop the UNIX operating system at Bell Labs. C was originally first implemented on the DEC PDP-11 computer in 1972. Jeevanopadhihttp://Jeevanopadhi.com provides c language with training and certification with best certified tutors.
C in computer language:
C is a particularly popular language for personal computer programmers because it is relatively small — it requires less memory than other languages. The first major program written in C was the UNIX operating system, and for many years C was considered to be inextricably linked with UNIX.
In 1978, Brian Kernighan and Dennis Ritchie produced the first publicly available description of C, now known as the K&R standard.
The UNIX operating system, the C compiler, and essentially all UNIX application programs have been written in C.
C has now become a widely used professional language for various reasons
- Easy to learn
- Structured language
- It produces efficient programs
- It can handle low-level activities
- It can be compiled on a variety of computer platforms
C was initially used for system development work, in particular the programs that make-up the operating system.
Why use C?
Mainly because it produces code that runs nearly as fast as code written in assembly language.
Some examples of the use of C might be:
- Operating Systems
- Language Compilers
- Assemblers
- Text Editors
- Print Spoolers
- Network Drivers
- Modern Programs
- Data Bases
- Language Interpreters
- Utilities
Difference between c and c++
The major difference between C and C++ is that C is a procedural programming language and does not support classes and objects, while C++ is a combination of both procedural and object oriented programming language; therefore C++ can be called a hybrid language.
Aspects | C | C++ | Java |
Developed Year | 1972 | 1979 | 1991 |
Developed By | Dennis Ritchie | Bjarne Stroustrup | James Gosling |
Successor of | BCPL | C | C(Syntax) & C++ (Structure) |
Paradigms | Procedural | Object Oriented | Object Oriented |
Platform Dependency | Dependent | Dependent | Independent |
Keywords | 32 | 63 | 50 defined (goto, const unusable) |
Datatypes : union, structure | Supported | Supported | Not Supported |
Pre-processor directives | Supported (#include, #define) | Supported (#include, #define) | Not Supported |
Header files | Supported | Supported | Use Packages (import) |
Inheritance | No Inheritance | Supported | Multiple Inheritance not Supported |
Overloading | No Overloading | Supported | Operator Overloading not Supported |
Pointers | Supported | Supported | No Pointers |
Code Translation | Compiled | Compiled | Interpreted |
Storage Allocation | Uses malloc, calloc | Uses new , delete | uses garbage collector |
Multi-threading and Interfaces | Not Supported | Not Supported | Supported |
Exception Handling | No Exception handling | Supported | Supported |
Templates | Not Supported | Supported | Not Supported |
Storage class: auto, extern | Supported | Supported | Not Supported |
Destructors | No Constructor or Destructor | Supported | Not Supported |
Database Connectivity | Not Supported | Not Supported | Supported |
So to understand and learn c++ and java it is necessary to have a brief idea about c language.
C Programming Language Median Salary by Job
Job | Average |
Senior Software Engineer | Rs 801,899 |
Software Developer | Rs 413,263 |
Embedded Software Engineer | Rs 389,993 |
Sr. Software Engineer / Developer / Programmer | Rs 850,088 |