C is a programming language developed at AT & T's (American Telephone & Telegraph) Bell Laboratory of USA in 1972. It was designed and written by Dennis Ritchie.
C is the widely used language. It provides many features that are given below.
1. Simple
2. Machine Independent or portable
3. Mid level programming language
4. Structured programming language
5. Rich library
6. Memory management
7. Fast speed
8. Pointers
9. Recursion
10. Extensible
1. Simple
C is a simple language in the sense that it provides a structured approach (to break the problem into parts), the rich set of library functions, data types etc.
2. Machine Independent or Portable
C programs can be executed on different machines with some machine specific changes. Therefore, C is a machine independent language.
3. Mid Level Programming Language
Although, C is intended to do low level programming. It is used to develop system applications such as kernels, drivers, etc. It also supports the features of a high level language. That is why it is known as mid level language.
4. Structured Programming Language
C is a structured programming language in the sense that we can break the program into parts using functions. So it is easy to understand and modify.
5. Rich Library
C provides a lot of inbuilt functions that make the development fast.
6. Memory Management
It supports the feature of dynamic memory allocation. In C language, we can free the allocated memory at any time by calling the the free () function.
7. Speed
The compilation & execution time of C language is fast since there are lesser inbuilt functions and hence the lesser overhead.
8. Pointer
C provides the features of pointers. we can directly interact with the memory by using the pointers. We can use pointers for memory, structures, functions, array etc.
9. Recursion
In C, we can call the function within the function. It provides code reusability for every function. Recursion enable us to use the approach of backtracking.
10. Extensible
C language is extensible because it can easily adopt new features.
First C program
Before starting the C language, you need to learn, how to write, compile and run the first C program.
To write the first C program, open the C console ad write the following code.
#include<stdio.h>
int main()
{
printf("Hello C language");
return 0;
}
#include<stdio.h> includes the standard input output library functions. The printf() function is defined in stdio.h.
int main() : The main() function is the entry point of every program in C language.
printf() : The printf() function is used to print data on the console
return 0 : The return 0 statement, returns execution status to the OS. The 0 value is used for successful execution and 1 for unsuccessful execution.
-----------------------------------------------------------------------------------------------------------------------------
ALL COMPUTER PDF NOTES AVAILABLE IN HINDI & ENGLISH MEDIUM
-----------------------------------------------------------------------------------------------------------------------------
COMPUTER NOTES FOR TEACHERS AVAILABLE IN HINDI & ENGLISH MEDIUM
Dear Teachers ऐसा कंप्यूटर नोट्स जिसे आप पढ़कर बच्चों को आसानी से पढ़ा सकते हैं। यह नोट्स केवल कंप्यूटर इंस्टिट्यूट एवं टीचर्स के लिए हैं। इस नोट्स में आप अपना Watermark, Header / Footer और या Logo भी लगा सकते हैं। यदि आपको नोट्स खरीदने से रिलेटेड कोई भी problem आती है तो आप हमें Call या WhatsApp कर सकते हैं। Call / WhatsApp: +91 9650597419
-----------------------------------------------------------------------------------------------------------------------------
COMPUTER PDF NOTES IN ENGLISH
-----------------------------------------------------------------------------------------------------------------------------
COMPUTER PDF NOTES IN HINDI
-----------------------------------------------------------------------------------------------------------------------------
BASIC COMPUTER PDF NOTES IN ENGLISH
-----------------------------------------------------------------------------------------------------------------------------
BASIC COMPUTER PDF NOTES IN HINDI
-----------------------------------------------------------------------------------------------------------------------------
MS WORD PDF NOTES IN ENGLISH
-----------------------------------------------------------------------------------------------------------------------------
MS WORD PRACTICE ASSIGNMENT FILE
-----------------------------------------------------------------------------------------------------------------------------
MS WORD PDF NOTES IN HINDI
-----------------------------------------------------------------------------------------------------------------------------
MS EXCEL PDF NOTES IN ENGLISH
-----------------------------------------------------------------------------------------------------------------------------
MS EXCEL PDF NOTES IN HINDI
-----------------------------------------------------------------------------------------------------------------------------
MS EXCEL PRACTICE ASSIGNMENT FILE
-----------------------------------------------------------------------------------------------------------------------------
INTERNET PDF NOTES IN HINDI
-----------------------------------------------------------------------------------------------------------------------------
COMPUTER / LAPTOP REPAIRING NOTES IN HINDI
-----------------------------------------------------------------------------------------------------------------------------
0 Comments