Book Review
Programming with ANSI and Turbo C By Ashok N. Kamthane Kamthane Person Education
Progra Prog ramm mmin ing g wi withANSI thANSI and Tur urbo bo C is pr propo opose sed d forr any fo anyon onee in inte tere rest sted ed kn know owin ing g abo about ut th thee C programming. Programming is used today in very m uc u c h. h. I t i nt nt ro ro du d u ce c e s t he he c on o n ce c e pt pt o f C programming.
Chapterr 3 expl Chapte explain ainss the var variou iouss oper operato ators rs wit with h the their ir priorities. The use of comma and conditional operators are explained. Various operators like arithm ari thmeti etic, c, rel relati ationa onal, l, log logica icall and bit bitwis wisee operates, are also covered in this chapter with suitable suit able exampl example. e.
This book is intended for beginners, intermediate level, ad all those who want to learn or expand their knowledge knowledge in C programming. programming. A syst systematic ematic approach has been followed for the beginning of this book to the end. About 450 solved programs have been provided in the book to help student master the programming language. Most of the concept of Turbo C and ANSI are explained in detail with practical application. Each program is thoroughly explained and output is also shown. Each and every program is given in the book is perfectly working. Numerous unsolved questions aree gi ar give ven n at th thee end of eac each h cha chapt pter er.. Th Thes esee exer ex erci cise sess ar aree me mean antt fo forr te test stin ing g sk skil ills ls an and d underst unde rstandi anding ng for sol solvin ving g the pro proble blems. ms.
Chapter 4 deal with various I/O functions of C language. Formatted and unformatted functions with supporting supporting conversion characters and escape sequen seq uences ces are exp explai lained ned.. The char charact acter er I/O I/O,, str string ing I/O I/ O and fr frequ equen entl tly y us usef eful ul fu func ncti tion on ar aree al also so explained. Chapter 5 explains the decision control structure of C i.e. if, if-else and switch case statement with their nested use with numerous example. The supporting suppor ting statements, statements, break, continue and goto are als also o exp explai lained ned.. Chapter 6 is devoted to loop statements, i.e. for loop, lo op, wh whil ilee lo loop op and do do-w -whi hile le lo loop. op. It al also so di disc scus usss with nested for loop. The limitations of do-while loop lo op andthe wh whil ilee lo loop op ar aree co cover vered. ed.
The bo The book ok ha hass be been en au auth thor oriz ized ed by As Asho hok k Kamt Ka mtha hane. ne. He ha hass do done ne hi hiss Ma Mast ster er of En Engi gine neer erin ing g degree in first class from S.G.G.S College of Engineering Enginee ring and Technolo echnology gy in Electr Electronics onics..
Chapter Chapt er 7 exp explai lained ned th thee dec declar larat ation ion and initia ini tializ lizati ation on of arr array ay.. It cove covers rs one, two two,, thr three ee and multi dimensional array. The characteristics of array are explained. The function scanf() and sprint spr int() () are als also o expl explain ained ed wit with h exa exampl mple. e.
This book is divided into 16 chapters. Chapter 1 cont co ntai ains ns in intr trod oduc ucti tion on an and d ev evol olut utio ion n of C language. It includes history of C language, about ANSI standards, and Turbo-C. Turbo-C. Also, it covers the basics of interpreters and compilers. The structure of C pr prog ogra ram m wi with th ex exec ecut utio ion n pr proc oced edur uree is explain expl ained. ed. At the end pro progra grammi mming ng rul rules es for writin wri ting g C pro progra gram m are als also o des descri cribed. bed.
Chapter Chapt er 8 cov cover erss de deta tail il an and d in init itia iali lizat zatio ion n of strings. The various formats for display of string are explained. The standa standard rd stri string ng functi functions ons are explained with numerous examples. At the end somee appl som applica icatio tion n of str string ing are expl explain ained. ed. Chapter 9 explains the concept of pointer. The features of the pointer and its declaration are explain expl ained. ed. Thi Thiss chap chapter ter cons consist istss of ari arithm thmeti eticc operators with pointers, pointers and arrays, array of pointers, pointers to pointers, and pointer to strings.
Chapter 2 cove Chapter covers rs C char charact acter er set set,, del delimi imiter ters, s, keywords and identifiers, and rules for declaring variab var iables les and ini initia tializ lizing ing the them. m. Vari arious ous dat dataa typ types es and their ranges are discussed with their type conve co nvers rsio ion n whe when n one ne needs eds to co conv nver ertt th them em.. Al Also so,, thee co th cons nsta tant nt and vol volat atil ilee ty type pe of va vari riabl ablee is explained. 181
Chapter 10 explains the definition and working of function. It explains the use of return statement with suitable example. This chapter comprises types of functions, passing arguments to a function by value and reference, and function as an argument. This chapter also highlights the use of function with different arithmetic operators and control statements. At the end concept of recursion is also explained with suitable example.
Chapter 14 explains the concept of file. Various types of file operations including high level and low level files are explained. Use of structure with file is explained. The various functions used during file operations are listed. The command line argument and environment variables with simulation of various Ms-DOS commands are explained. Chapter 15 explained the concept of dynamic memory allocation, memory models, linked lists, and graphics. Dynamic memory allocation deals with functions such as malloc(), calloc(), realloc() and coreleft(). Link list concept with various operations are also explained. The graphic title describes how to initialize graphics mode, draw various shapes, text attributes and operation with mouse.
Chapter 11 explains different types of variables used in C such as automatic, external, static and register. Various storage classes of variables are also explained. Chapter 12 explains various pre-defined macros in ANSI and Turbo C as well as user defined macros. It consists of #define, #undef, #include, #line, and conditional compilation. The #error and #pragma directives are also described together with example. At the end, various macros defined in header file stdio.h and ctype.h are explained.
Chapter 16 introduces the concepts of C++ programming language. The book provides lot of information coverage and knowledge in the field of C programming. The faculty members would be able to prepare their lectures using this handbook. At the same time the students would be able to- (i) Acquire knowledge about the various topics. (ii) Make notes for their study purpose. (iii) Prepare for the examination.
Chapter 13 contains various features of non primitive data types such as structure and union. Features of structure with their declaration and initialization are explained. The use of dot(.) and arrow(->) operators is explained with suitable example. The operation of structure with function, pointer, array and the nested structure with practical application are explained. The typedef statement, enumerated data type and bit fields are discussed.
Book Reviewed by Radheshyam Acholiya Assistant Professor Pioneer Institute of Professional Studies, Indore
182