Pragmatic means "of practical significance". Students always prefer formats that make it easy to learn a subject and apply its concepts in practical situations. Therefore, this book has been written in a very friendly format to facilitate learning and application of the C Programming Language. Many books on C are available to students but the most common complaint with these books is the difficulty in applying the concepts learned from the book. This book presents concepts in a comprehensive manner, illustrated with a variety of examples and provides enough problems to master the concepts. The assignment at the end of the book further enhances the confidence. The book enables the student to apply the concepts in practical situations.
Additional Info
  • Publisher: Laxmi Publications
  • Language: English
  • ISBN : 978-81-318-0480-3
  • Chapter 1

    INTRODUCTION TO C AND DATA TYPE Price 2.99  |  2.99 Rewards Points

    The name ‘C’ cryptic, is derived from an earlier version written by Ken Thompson1, a Bell Laboratory System Engineer. He was following a language BCPL (Basic Combined Programming language) by Martin Richards2. After developing the language the first letter B was dropped and new language became CPL. This was called C programming language.  This language was originally designed and implemented on the UNIX operating system on DEC-PDP11 by Dennis Ritchie at Bell labs and later entire UNIX was rewritten in C.
  • Chapter 2

    OPERATORS EXPRESSIONS AND ASSIGNMENT Price 2.99  |  2.99 Rewards Points

    In the computing world a general statement is called a predicate, like ‘x is odd’. Until, we give a specific value to x the truth of the statement is not established. Another expression ‘z = x + y’, assigns the value of sum to z. This expression includes a commonly used symbol + for addition. It is called the sum operator. The operators help in building the expressions and reach a specific result when specific values are assigned to the variables of the expression. Based on the type of purpose that an operator serves, it is classified. C language involves a wide variety of operators, which will be introduced in the due course of this book.
  • Chapter 3

    CONTROL FLOW Price 2.99  |  2.99 Rewards Points

    The control flow statements of a language specify the order in which the statements are executed or computations are performed. We have already met the most important branching if-else construct in the previous chapter and are already familiar with statements and blocks. Now let us discuss more control statements in C language.
  • Chapter 4

    INPUT AND OUTPUT Price 2.99  |  2.99 Rewards Points

    The console input output facility is not a part of C compiler. It is implemented in the form of a standard library. The functionality of this library is implemented through the header file stdio.h.
  • Chapter 5

    POINTERS-I Price 2.99  |  2.99 Rewards Points

    Pointer is a concept, which everybody has been using since childhood. During the schooldays it was often required by the class teacher that all students should stand roll number wise in a line. Believe it or not, you have always executed that order perfectly. Have you ever thought that how could you do that? The key to this success is a pointer you have always maintained in you, which always pointed to the person before you i.e., you remembered the roll number of the person who should come before you. The same is true for all students.
  • Chapter 6

    FUNCTIONS Price 2.99  |  2.99 Rewards Points

    A function is a self-contained program segment that carries out some specific task. Every C program consists of one or more functions. One of these functions is called main. Program execution always begins by carrying out the instruction from main.
  • Chapter 7

    ARRAYS Price 2.99  |  2.99 Rewards Points

    In C it is also possible to assign a single name to a group of elements of similar data type. We can refer to each element in terms of its position within that group. It can be defined as a data structure representing a set of values of the same type. These values are stored in memory in contiguous locations, which have same name but are identified by an index number (subscript). In C arrays are declared and accessed by the use of square brackets
  • Chapter 8

    MULTIDIMENSIONAL ARRAYS Price 2.99  |  2.99 Rewards Points

    You might have dealt with matrices, list of objects etc. Therefore it is not always that data is available in the form of a row, many practical situations put the data in the form of multiple rows or rows and columns. Expansion of data column-wise adds second dimension to our arrays. Thus, when data is arranged in the form of rows and columns, is called a twodimensional array.
  • Chapter 9

    POINTERS-II Price 2.99  |  2.99 Rewards Points

  • Chapter 10

    STRUCTURES AND UNIONS Price 2.99  |  2.99 Rewards Points

    We often see that in our day-to-day life when we handle data, we need to keep some values together, i.e., a set of values always go together. A very good example of this is a date. Whenever we handle date we keep dd/mm/yy together. Another similar example can be time, which is hh:mm:ss. C facilitates to keep such values bound together in the form of a structure.
  • Chapter 11

    FILES Price 2.99  |  2.99 Rewards Points

    Till now we have worked with the standard input and standard output devices. In all practical situations, user doesn’t interact with the computer for control of operations as many of these are automatic or user doesn’t give data every time the program executes. For efficient operations the program should be able to store the data permanently and retrieve whenever required. This capability makes a program to work even in the absence of the operator. The area, where the program stores the information or from where, it is supposed to read the information is called a file.
  • Chapter 12

    PREPROCESSING A SUMMARY Price 2.99  |  2.99 Rewards Points

    The preprocessors are the directives written in a program for the compiler to carry out an operation under certain conditions. Preprocessor directives are placed in the source program before the main(). The need arises when a program becomes larger and has to be managed in multiple files e.g., projects. When a number of people work on a project, each may require using a specific function, which has already been defined in a file. The case may be with data files or constants or functions or similar tokens in C language. But it is not available in the current file of the program. When all files put together to operate collectively, may result in a re-declaration error. In another situation a file is used to store data, the control is transferred to another program module. Now if the file is already in use then it need not be open again. Therefore it becomes necessary to check for its existence by the compiler.
  • Chapter 13

    LINKED LIST Price 2.99  |  2.99 Rewards Points


About the Author