Download C programming Notes

C -Programming 
C Language was originally developed at Bell Labs by Ken Thompson and Dennis Ritchie in the mid of 1970‟s. It is one of the most popular procedural, general purpose, and high-level programming language used in all operating systems of today. Although C was designed for writing system software, it is also widely used for developing application software. C is one of the most popular programming languages of all time and there are very few computer architectures for which a C compiler does not exist. C has greatly influenced many other popular programming languages, most notably C++, which began as an extension to C. It supports the programmer with a rich set of built-in functions and operators. C supports different types of statements like sequential, selection, looping etc. Procedural programming concept is well supported in C, this helps in dividing the programs into function modules or code blocks.



Download Cnotes form here :

C Language was originally developed at Bell Labs by Ken Thompson and Dennis Ritchie in the mid of 1970‟s. It is one of the most popular procedural, general purpose, and high-level programming language used in all operating systems of today. Although C was designed for writing system software, it is also widely used for developing application software. C is one of the most popular programming languages of all time and there are very few computer architectures for which a C compiler does not exist. 


Control Statement
 A control statement is a statement that causes program statements to execute in a manner that doesn’t relate to the order it appears in the source code. These statements help to jump from one part of the program to another. The control transfer may be conditional or unconditional. C supports three types of control statements namely selection, repetition and jump statements. 

Functions
A function is a self contained program segment that carries out some specific, well defined task. Every C program consists of one or more functions. Every C program must have main function. Execution of program will always begin by carrying out the instructions in main. Generally, a function will process information that is passed to it from the calling portion of the function, and return a single value. Information is passed to the function via special identifiers called arguments.Click here to download Functions.




Arrays
Array is a group of same type of variables that have common name. Each item in the group is called an element of the array. Each element is distinguished from another by an index. All elements are stored contiguously in memory. The elements of the array can be of any valid type, such as, integers, characters, floating-point types or user-defined types.Click here to download Arrays.



Pointers 
A pointer is a variable that holds address (memory location) of another variable rather than actual value. Also, a pointer is a variable that points to or references a memory location in which data is stored. Each memory cell in the computer has an address that can be used to access that location. So, a pointer variable points to a memory location and we can access and change the contents of this memory location via the pointer. Pointers are used frequently in C, as they have a number of useful applications. In particular Click here to download Pointers .



Structures 
Structure is a mechanism that provides a means to aggregate variables of different type. Thus a single structure might contain integer elements, floating-point elements, and character elements. Pointers, arrays, and other structures can also be included as elements within a structure. The individual structure elements are referred to as members. Unlike structure, the array is a mechanism that provides a means to aggregate variables of similar type. That is, all elements in the array are of same data type. Click here to download Structures .



Data Files
Many applications require that information be written to or read from an auxiliary memory device. Such information is stored on the memory device in the form of data files. Thus data files allow us to store information permanently, to access and alter that information whenever necessary. In C, an extensive set of library functions is available for creating and processing data files.
Click here to download Data Files






No comments

Powered by Blogger.