0% found this document useful (0 votes)
218 views

Programming in C Gujarati Book

Uploaded by

Priyanshu Damor
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
218 views

Programming in C Gujarati Book

Uploaded by

Priyanshu Damor
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

PROGRAMMING IN

C
[ I N G U JAR ATI L ANG U AG E ]

By
Jignesh Shah

Edition : 2nd Edition : 2010


ISBN : 9789380358062
Size (mm) : 240 x 20 × 170
Binding : Paperback
` 190.00 BUY Pages : 480 + 16 = 496
Weight : 600 g

ABOUT THE BOOK CONTENT


kiƒÀ¼y&Tr p\i[g\im)‚gmi> ‘C’ language K*b agRyn) C[. ai p&Atk oiri (vwiY)<n[ (vPyn&> tlApS)< 1 : ‘C’ FUNDAMENTALS
an[ k\mbo Xin mL) rh[ t[ p\miN[ s>p*N< p&Atkn[ 11 p\krNi[ an[ 5 p(r(SOT (Appendix) 2 : OPERATORS AND INPUT-OUTPUT FUNCTIONS
mi>> vh[>cvimi> aiv[l C[. dr[k p\krNmi> aivti m&Ñin[ srL BiPimi> ninimi> nin) (vgtn[ pN
udihrNY) smÔvvimi> aiv[l C[. 3 : STATEMENT, BRANCHING AND LOOPING
4 : ‘C’ FUNCTIONS – USER DEFINED FUNCTION
“Learning by concept” siY[ bniv[l ai p&Atkn) lix(Nktiai[ n)c[ m&jb C[: 5 : STORAGE CLASSES
527 an[ Examples {p\i[g\im s(ht} aipvimi> aiv[l C[ 6 : ARRAY
79 upyi[g) T[bÃs oiri m&Ñin) srL smj&t) 7 : POINTERS
376 Avi¹yiy-p\Åni[. dr[k p\krNni a>tmi> (vwiY)< pi[tini Xinn) ckisN) kr) Sk[ t[ 8 : STRUCTURES AND UNIONS
aiSyY) aipvimi> aiÄyi C[. 9 : WORKING WITH FILES
10 : INTRODUCTION TO OBJECT ORIENTED
watch, output, trace into, step over, getch( ), clrscr( ), gotoxy( ), kbhit( ), delay( ), PROGRAMMING
time structure, merits & demerits of string input library function vg[r[ j[vi agRyni
11 : SPECIAL PROGRAMS
m&Ñin) cci< si] p\Ymvir j ai p&Atkmi> krvimi> aiv) C[. td`upri>t ‘C’ fundamentals,
operators, input-output library functions, loops, string handling library functions, APPENDIX A : FLOWCHART AND ALGORITHM
pointers, multifile programming, file handing functionsn) cci< ai p&Atkmi> aigv) r)t[ APPENDIX B : BIT OPERATORS
an[ U>DiNp*v<k krvimi> aiv) C[. APPENDIX C : ASCII CHARACTER SET TABLE
APPENDIX D : OPERATORS PRECEDENCE TABLE
ai[¾j[±T ai[(ra[ºT[D p\i[g\im)‚gn) p\iY(mk cci< p\krN-10mi> kr[l C[. td`upri>t p\krN-11mi> 55
(v(SOT p\i[g\iÀs aip[li C[ j[ni a¿yisY) p\i[g\imr aigv) lix(Nk k&SLti p\i¼t kr) SkS[. APPENDIX E : STANDARD LIBRARY FUNCTIONS
INDEX
Appendix A – Algorithm an[ Flow-chart,
Appendix B – Bit level Programme,
Appendix C – ASCII Character Set,
Appendix D – Operators precedence table an[
Appendix E – Library Functionsn[ ai p&Atkmi> aigv) r)t[ an[ U>DiNp*v<k rj* krvimi>
aiv[l C[.
ai p&Atk p\i[g\im)‚gn) S$ait krnir tYi an&Bv) p\i[g\imr b>n[ miT[ K*b j upyi[g) n)vD[ t[ p\
miN[ bniv[l C[. ai p&Atk a[(ºj(nyr)‚g (Dg\) an[ (D¼li[mi ki[s<, kiƒÀ¼y&Tr siyºs an[ kiƒÀ¼y&Tr
a[(¼lk[Snni (Dg\) tYi pi[AT g\[¶y&a[T (D¼li[mi ki[s<, B.C.A., M.C.A., P.G.D.C.A., I.T.I.,
(vXin, vi(N¶y an[ m[n[jm[ºTni (vwiY)<ai[ upri>t p\iev[T kiƒÀ¼y&Tr eIºATTy*Tmi> S)Kvi jti
(vwiY)<ai[[ miT[ pN K*b j upyi[g) C[.

Catalogue Checklist
Charotar Publishing House Pvt. Ltd. Opposite Amul Dairy, Old Civil Court Road, Anand 388 001 India Follow us:
+91 2692 256237, 240089, +91 99249 78998 [email protected], https://cphbooks.in /charotar /cphpl1511 /charotarpub / in /charotar
PROGRAMMING IN C
DETAILED CONTENTS
Chapter 1 ‘C’ FUNDAMENTALS 2-4. Relational operators
1-1. Introduction Precedence of Relational operator
1-2. Features of ‘C’ 2-5. Equality operators
(1) General purpose language Precedence of equality operators
(2) Structured programming language 2-6. Logical operators
(3) Middle level language (1) AND Operator
(i) Lower level language (2) OR Operator
(ii) Higher level language (3) NOT Operator
(4) Portable language Precedence of logical operators
(5) Free style language 2-7. Assignment operators
(6) Case sensitive language (1) = : assign the value
1-3. Advantages of ‘C’ Difference between Assignment Operator (=)
1-4. Structure of a ‘C’ program and Equality Operator (==)
(1) #include (2) +=, - =, *=, /= and %= : add then assign,
(2) Comments subtract then assign, multiply then assign, divide
(3) main( ) then assign and evaluate remainder then assign
(4) Braces 2-8. Conditional operator
(5) printf 2-9. Precedence of operators
(6) Semicolon 2-10. Library functions
1-5. getch( ) and clrscr( ) (1) Input/Output Operation
1-6. Watch, output and trace into (2) For Operation on character
(1) Setting watches (3) For operation on string
(2) Trace into (4) For Arithmetic operations
(3) Output screen 2-11. Type conversion
1-7. Writing, compiling and running a ‘C’ program
Type conversion in assignments
1-8. Character set
2-12. Input – output functions
(1) Letters
2-13. getcharacter function
(2) digits
2-14. putcharacter function
(3) Special characters
2-15. scanf function
(4) White space
2-16. printf function
1-9. Keywords
2-17. getstring function
1-10. Identifiers
2-18. putstring function
Rules for identifiers
2-19. field – width
1-11. Data–types
Rules for field-width
(1) void
2-20. Typical programs
(2) Integral data–type
Exercises 2
(i) Integer
(ii) Character Chapter 3 STATEMENT, BRANCHING AND LOOPING
(3) Floating–point types 3-1. Introduction
1-12. Constants (1) Condition checking
(1) Integer constants (2) Body of the loop
(i) Octal integer constant 3-2. if statement
(ii) Hexadecimal integer constant (1) Simple if statement
(iii) Unsigned and long integer constant (2) if...... else statement
(2) Floating–point constant (3) Compound if statement
(i) Fractional form (4) Nested if......else statement
(ii) Exponential form (5) else if ladder
(3) Character constant 3-3. For loop
(4) String constant (1) Initialization
1-13. Symbolic constants (2) Condition checking
1-14. Escape sequence (3) Increment / Decrement
1-15. Variables and their declarations Nesting of for loops
Declaration of variable Programs of nested for loop
1-16. Shortcut keys 3-4. While loop
(1) Curser movement commands Nesting of while loop
(2) Block commands 3-5. Do–while loop
(3) Other important commands (1) for and do–while
Exercises 1 (2) while and do–while
Chapter 2 OPERATORS AND INPUT-OUTPUT FUNCTIONS Nesting of do – while loop
2-1. Introduction 3-6. The switch statement
2-2. Arithmetic operators 3-7. Break statement
Precedence of Arithmetic operators 3-8. exit function
2-3. Unary operators 3-9. Continue statement
(1) Unary Minus 3-10. Goto statement
(2) Increment operator and decrement operator 3-11. gotoxy function
(3) Size of operator 3-12. Special programs
Precedence of Unary operators Exercises 3

Charotar Publishing House Pvt. Ltd. Opposite Amul Dairy, Old Civil Court Road, Anand 388 001 India Follow us:
+91 2692 256237, 240089, +91 99249 78998 [email protected], https://cphbooks.in /charotar /cphpl1511 /charotarpub / in /charotar
PROGRAMMING IN C
DETAILED CONTENTS
Chapter 4 ‘C’ FUNCTIONS – USER DEFINED FUNCTION (3) String compare functions
4-1. Introduction (i) strcmp( )
4-2. Needs/importance/advantages (ii) strcmpi( )
4-3. Function Definition (4) String reverse functions
(1) First line (5) String concatenate function
(2) Body of the function (6) String lower functions
4-4. Return statement (7) String upper functions
4-5. Calling a function (8) String set function
4-6. Function prototyping (9) Bytes swapping function
(1) No argument, No returntype 6-19. Typical programs
(2) No argument, With returntype Exercises 6
(3) With argument, Without returntype Chapter 7 POINTERS
(4) With argument, With returntype 7-1. Introduction
4-7. Passing arguments to a function 7-2. What is pointer?
(1) Call by value 7-3. Declaration and initialization of pointers
(2) Call by reference (1) char *ch
4-8. Nesting of functions (2) int *number
4-9. Recursion (3) float *fptr
4-10. Typical Programs 7-4. ‘&’ and ‘*’ operators
4-11. Macros (1) &
Exercises 4 (2) ‘*’
Chapter 5 STORAGE CLASSES 7-5. Pointer and one-dimensional arrays
5-1. Introduction 7-6. Pointer and two-dimensional array
5-2. Types of storage classes 7-7. Dynamic memory allocation
5-3. Automatic variables Allocating a block of memory
5-4. External variable Freeing the used space
Difference between external variable definition and declaration Modifying block size
Inherent dangers of external variables 7-8. Operations on pointers
5-5. Static variable 7-9. Pointer and functions
5-6. Register variable 7-10. Functions returning pointers
5-7 Multifile Programming Exercises 7
Rules associated with the use of functions in multifile Chapter 8 STRUCTURES AND UNIONS
programming 8-1. Introduction
Variables in multifile programs 8-2. Structure declaration
How to run multifile programs 8-3. Dot operator
Exercises 5 8-4. How to give values to structure members?
Chapter 6 ARRAY 8-5. Structure initialization
6-1. Introduction 8-6. Using unary operators with structures
6-2. What is an array? 8-7. Using assignment operator with structure
6-3. Defining one-dimensional array {1} s>p*N< AT^kcr v[(ra[bln[ b)Ô AT^kcr v[(ra[blmi> assign kr)n[
6-4. Initializing arrays {2} AT^kcr v[(ra[blni individual membermi> v[Ãy& assign kr)n[
6-5. Processing an array 8-8. Array of structures
6-6. Passing array to function 8-9. Arrays within structures
6-7. Two-dimensional arrays 8-10. Structures within structures – nested structure
6-8. Initializing two-dimensional arrays 8-11. Structures and functions
6-9. Array and strings 8-12. Structures and pointers
6-10. Declaration and initialization of strings How pointers to structure variables declare?
6-11. How to input strings? How a structure is accessed using its pointer?
6-12. How to print strings to the screen? 8-13. typedef feature of ‘C’
(1) %s 8-14. Unions
(2) putchar( ) 8-15. Typical programs
(3) puts( ) (1) Structure time (2) gettime( ) (3) kbhit( ) (4) delay( )
6-13. Finding length of a string Exercises 8
6-14. Copying strings Chapter 9 WORKING WITH FILES
6-15. Comparison of two strings 9-1. Introduction
6-16. Reversing a string 9-2. Opening a file
6-17. Concatenating strings 9-3. Closing a data-file
6-18. String handling functions 9-4. File input/output functions
(1) String length functions (1) putc( ) function
(2) String copy functions (2) getc( ) function
(i) strcpy( ) (3) fputc( ) function
(ii) strncpy( ) (4) fgetc function

Charotar Publishing House Pvt. Ltd. Opposite Amul Dairy, Old Civil Court Road, Anand 388 001 India Follow us:
+91 2692 256237, 240089, +91 99249 78998 [email protected], https://cphbooks.in /charotar /cphpl1511 /charotarpub / in /charotar
PROGRAMMING IN C
DETAILED CONTENTS
  (5) fputs( ) function Chapter 11 SPECIAL PROGRAMS
  (6) fgets( ) function Appendix A FLOWCHART AND ALGORITHM
  (7) putw( ) function A-1. Introduction
  (8) getw function A-2. Algorithm
  (9) fwrite function A-3. Characteristics
(10) fread function A-4. Flowchart
(11) fprintf function A-5. Flowchart symbols
(12) fscanf function A-6. Computer flowcharting symbols
9-5. Opening a file in append mode A-7. Arithmetic operators and comparators
9-6. A program to copy a file A-8. Typical flowcharts
9-7. Error handling during file I/O operation
Appendix B BIT OPERATORS
(1) feof function
B-1. Introduction
(2) ferror function
B-2. Bitwise operators
9-8. Movement of file pointer
B-3. Bitwise logical operators
(1) fseek function
(1) Bitwise AND operator
(2) ftell( ) function
(2) Bitwise OR operator
(3) rewind function
(3) Bitwise exclusive OR
Exercises 9
B-4. Bitwise shift operators
Chapter 10 INTRODUCTION TO OBJECT ORIENTED (1) Left shift operator
PROGRAMMING (2) Right shift operators
10-1. Introduction B-5. Bitwise complement operator
10-2. Needs for object oriented programming
Appendix C ASCII CHARACTER SET TABLE
(1) Procedural languages
C-1. Control character set
(2) Division into functions
C-2. Printing character set
(3) Problems with structured programming
C-3. Extended ASCII character set
(4) Data undervalued
(5) Relationship to the real world Appendix D OPERATORS PRECEDENCE TABLE
(6) New data types Appendix E STANDARD LIBRARY FUNCTIONS
10-3. Object Oriented Approach E-1. alloc.h
10-4. Characteristics of OOP language E-2. conio.h
(1) Classes and objects E-3. ctype.h
(2) Data abstraction and encapsulation E-4. dir.h
(3) Inheritance E-5. dos.h
(4) Polymorphism and overloading E-6. io.h
(5) Creating new data types E-7. graphics.h
10-5. Something about C++ E-8. math.h
(1) cout – output operator E-9. stdio.h
(2) cin – input operator E-10. stdlib.h
10-6. Examples on C++ E-11. String.h
Exercises 10 E-12. time.h
Index

Charotar Publishing House Pvt. Ltd. Opposite Amul Dairy, Old Civil Court Road, Anand 388 001 India Follow us:
+91 2692 256237, 240089, +91 99249 78998 [email protected], https://cphbooks.in /charotar /cphpl1511 /charotarpub / in /charotar

You might also like