Logical arrangements of contents, clarity of presentation and illustration through abundance of programming examples in the book aid the student and novice in mastering the C language. A number of unique features make this book different from other existing books in the field of C programming. Motivating the unmotivated, over 250 tested program examples have been provided. This book useful for students of M.Tech., M.C.A., M.Sc., (Mathematics and Computer Science) Engineering, BCA, BIT, B.Sc., (Mathematics and Computer Science), C-DAC, DOEACC-O Level, A Level and other diploma courses.
Additional Info
  • Publisher: Laxmi Publications
  • Language: English
  • ISBN : 978-93-80298-39-9
  • Chapter 1

    Introduction to Problem Solving Price 2.99  |  2.99 Rewards Points

    A program is a sequence of instructions written in a programming language. There are various programming languages, each having its own advantages for program development.
  • Chapter 2

    Over View Of C Price 2.99  |  2.99 Rewards Points

    “C” is the language’s entire name, and it does not “stand” for anything. C is the successor of B, which was the successor of BCPL, which was the successor of CPL (Computer Programming Language), an early programming language that was not implemented. Developed at Bell Laboratories in the early 1970’s by Dennis Ritchie, C is a general-purpose, compiled language that works well for microcomputers and is portable among many computers. It was originally developed for writing system software. 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. Now, however, C is an important language independent of Unix. Today it is widely used for writing applications, including word processing, spreadsheets, games, robotics, and graphics programs. It is now considered a necessary language for programmers to know.
  • Chapter 3

    Operators and Expressions Price 2.99  |  2.99 Rewards Points

    Operators are the verbs of a language that help the user perform computations on values. C language supports a rich set of operators.
  • Chapter 4

    Input and Output Functions Price 2.99  |  2.99 Rewards Points

    Input and Output Functions
  • Chapter 5

    Control Statements Price 2.99  |  2.99 Rewards Points

    Every C program must have at least one function called main( ). When you run a C program, the first statement executed will be at the beginning of function main( ) and the last statement at the end of function main( ). Therefore, the main( ) function is also known as driver function as it drives the program. If there is no function called main( ) in your program, the linker will signal an error.
  • Chapter 6

    Functions Price 2.99  |  2.99 Rewards Points

    A function groups a number of program statements into a single unit and gives it a name. Every C program is a collection of functions. The function main( ) is executed first and it calls the other functions directly or indirectly. It is necessary that every C program must have the function main( ). We may have user defined function(s) which can be called (invoked) from other parts of the program. Functions are the building blocks of C programs where all the program activity occurs.
  • Chapter 7

    Preprocessors Price 2.99  |  2.99 Rewards Points

    The C preprocessor is a program that processes a C source program before it is handed over to the compiler. The output of preprocessor is called translation unit. Translation unit serves as input for translator. It is possible to include some instructions for the compiler in the source code of a C program. These instructions are referred to as preprocessor commands or directives. While not actually a part of the C language, these expand the scope of C program environment. The preprocessor directives normally begin with a # and can be placed anywhere in a C function or program but are placed before main( ) or other function for increasing the readability of the program. The directive will apply only to the portion of the program following its appearance.
  • Chapter 8

    Arrays Price 2.99  |  2.99 Rewards Points

    Many applications require the processing of multiple data items that share common properties (e.g., a set of numerical data, represented by a1, a2, ........ an). The individual data items can be characters, integers, floating-point numbers, and so on. Earlier we have used C basic data types. C provides the derived data types also, which are built from the basic integer and floating data types. An array is a C derived type that can store several values of one type. An array is a collection of homogeneous (same type) elements that are referred by a common name. It is also called a subscripted variable as the array elements are used by the name of an array and an index or subscript.
  • Chapter 9

    Strings Price 2.99  |  2.99 Rewards Points

    A string is a collection of characters enclosed within quotes. This type of data is very important and almost all programming languages have provision to handle it. In C, a string is defined as a character array being terminated by a NULL character. (A NULL is zero.) Each element of string is stored as one element in the array housing it. So the character arrays must be declared one character longer than the size of the string we wish to store. The last byte stores the string terminator '\0'. In this chapter we will focus on strings.
  • Chapter 10

    Pointers Price 2.99  |  2.99 Rewards Points

    A pointer is a derived data type in C language. It is built from one of the fundamental data types in C. A pointer is a variable that contains the location or address (rather than the value) of a data item, such as a variable or an array element. Since the memory addresses are the locations in the computer memory where program instruction and data are stored, pointers can be used to access and manipulate data stored in the memory.
  • Chapter 11

    Structures and Unions Price 2.99  |  2.99 Rewards Points

    In C, we can create and use the data types other than the fundamental data types. These are known as user-defined data types. Data types using the keyword struct are known as structures. As seen earlier arrays have similar data type elements. In C, a structure is a collection of mixed data types referenced by a single name. It is a group of related data items (structure elements) of arbitrary types and is called an aggregate data type. (The term compound or conglomerate are also commonly used.)
  • Chapter 12

    File Handling Price 2.99  |  2.99 Rewards Points

    File of the application programs process large volume of data which is permanently stored in files. We can write programs that can read data from file(s) and write data to file(s). Compilers read source code files and provide executable files. Database programs and word processors also work with files.
  • Chapter 13

    Linked Lists Price 2.99  |  2.99 Rewards Points

    The term ‘list’ means a linear collection of elements. Array is an example of linear lists which we studied earlier. However, the problems of sequential representation of lists (e.g., of arrays) are fixed size, wastage of time in shifting of elements for insertions and deletions and requirement of homogeneity of elements. Thus, if size of memory required is not known in advance, or if many insertions and deletions are expected or the elements are of different types, linked representation can be used. Here, we will study linked representation of only simple lists in which all the elements are of same type.
  • Chapter 14

    Graphics In C Price 2.99  |  2.99 Rewards Points

    Computer graphics is a topic of rapidly growing importance in the computer field. It has always been one of the most visually spectacular branches of computer technology, producing images whose appearance and motion make them quite unlike any other form of computer output. Computer graphics is also an extremely effective medium for communication between man and computer; the human eye absorb the information content of a displayed diagram or perspective view much faster than it can scan a table of numbers. Or in other words, a picture is worth thousand of words. All of this has been known for some years, but the high cost of computer graphics technology has prevented its widespread use. Now the cost is dropping rapidly, and interactive computer graphics is becoming available to more and more people.

About the Author

Not available