- Page 2: Let Us CFourteenth EditionYashavant
- Page 9: Multiple Statements within if 45The
- Page 12: Initializing a Two-Dimensional Arra
- Page 18: 1 Getting Started What is C? Gettin
- Page 26 and 27: Chapter 1: Getting Started 9Since,
- Page 29 and 30: 12 Let Us Cstatement, after the sta
- Page 34: Chapter 1: Getting Started 171000 5
- Page 44: 26 Let Us C(e) No operator is assum
- Page 49: Chapter 2: C Instructions 31Algebra
- Page 55 and 56: Chapter 2: C Instructions 37(h) Two
- Page 58: 3 DecisionControl Instruction Decis
- Page 65 and 66: 46 Let Us C}bonus = 2500 ;printf (
- Page 71: 52 Let Us C}int a = 300, b, c ;if (
- Page 74 and 75: Chapter 3: Decision Control Instruc
- Page 77: 4 More ComplexDecision Making Use o
- Page 92 and 93:
72 Let Us C}return 0 ;(b) #include
- Page 94:
74 Let Us C{}int x = 10, y = 20 ;if
- Page 98 and 99:
78 Let Us CBMI CategoryStarvationAn
- Page 100:
80 Let Us C
- Page 104:
Chapter 5: Loop Control Instruction
- Page 107:
86 Let Us C Almost always, the whil
- Page 112:
Chapter 5: Loop Control Instruction
- Page 115:
94 Let Us C
- Page 118:
96 Let Us CThe programs that we hav
- Page 122 and 123:
100 Let Us C}return 0 ;Here, the in
- Page 124:
102 Let Us Cr = 1 c = 1 sum = 2r =
- Page 128 and 129:
106 Let Us Chaving executed the sta
- Page 131 and 132:
Chapter 6: More Complex Repetitions
- Page 133 and 134:
Chapter 6: More Complex Repetitions
- Page 136 and 137:
114 Let Us C(h) The natural logarit
- Page 138:
116 Let Us C
- Page 143 and 144:
120 Let Us Cint main( ){int i = 2 ;
- Page 145:
122 Let Us C}switch ( i ){case 121
- Page 150 and 151:
Chapter 7: Case Control Instruction
- Page 153 and 154:
130 Let Us C}printf ( "Diamond\n" )
- Page 155:
132 Let Us C}case -1 :printf ( "Fee
- Page 164 and 165:
140 Let Us C}And the output would l
- Page 168:
144 Let Us Cvalues of a, b and c ar
- Page 171:
Chapter 8: Functions 147# include <
- Page 177 and 178:
Chapter 8: Functions 153}a = 3.14 *
- Page 182:
9 Pointers Call by Value and Call b
- Page 192 and 193:
Chapter 9: Pointers 167{}*a = 3.14
- Page 194 and 195:
Chapter 9: Pointers 169{}float a =
- Page 197:
172 Let Us C
- Page 202:
176 Let Us CEnter any number 1Facto
- Page 208:
182 Let Us C}[B] Attempt the follow
- Page 216 and 217:
Chapter 11: Data Types Revisited 18
- Page 220:
Chapter 11: Data Types Revisited 19
- Page 226:
Chapter 11: Data Types Revisited 19
- Page 232 and 233:
Chapter 11: Data Types Revisited 20
- Page 234 and 235:
Chapter 11: Data Types Revisited 20
- Page 236 and 237:
Chapter 11: Data Types Revisited 20
- Page 239:
12 The CPreprocesorsor Features of
- Page 245:
Chapter 12: The C Preprocessor 217(
- Page 254:
226 Let Us C#if and #elif Directive
- Page 263 and 264:
Chapter 12: The C Preprocessor 235P
- Page 268:
13 Arrays What are ArraysA Simple P
- Page 277 and 278:
248 Let Us C}printf ( "Value of k =
- Page 279 and 280:
250 Let Us CSuppose the array begin
- Page 281 and 282:
252 Let Us CNote that the array ele
- Page 284:
Chapter 13: Arrays 255would not kno
- Page 287:
258 Let Us C# include <stdio.h>int
- Page 290 and 291:
Chapter 13: Arrays 261Insertion Sor
- Page 292 and 293:
Chapter 13: Arrays 263{}static int
- Page 295:
266 Let Us C3. *float ptr ;4. None
- Page 299:
Chapter 14: Multidimensional Arrays
- Page 304 and 305:
274 Let Us C}int i, j, *pint ;for (
- Page 307 and 308:
Chapter 14: Multidimensional Arrays
- Page 310 and 311:
280 Let Us Ccommas have been given.
- Page 312 and 313:
282 Let Us C{}int n[ 3 ][ 3 ] = {2,
- Page 315 and 316:
Chapter 14: Multidimensional Arrays
- Page 317 and 318:
Chapter 14: Multidimensional Arrays
- Page 319 and 320:
Chapter 14: Multidimensional Arrays
- Page 322:
15 Strings What are Strings More ab
- Page 330:
Chapter 15: Strings 299Functionstrl
- Page 348 and 349:
316 Let Us Cprintf ( "Original: %s
- Page 352:
320 Let Us Cchar *mess[ ] = {} ;"Ha
- Page 359:
326 Let Us Cchar name ;float price
- Page 366 and 367:
Chapter 17: Structures 333It is not
- Page 368:
Chapter 17: Structures 335Notice th
- Page 375 and 376:
342 Let Us C(c) Structure elements
- Page 377 and 378:
344 Let Us C}struct employee e ;str
- Page 379:
346 Let Us C[C] Answer the followin
- Page 385:
18 ConsoleInput/Output Types of I/O
- Page 391:
Chapter 18: Console Input/Output 35
- Page 401 and 402:
Chapter 18: Console Input/Output 36
- Page 403 and 404:
Chapter 18: Console Input/Output 36
- Page 409:
374 Let Us CWhy do we need a buffer
- Page 417:
382 Let Us C}printf ( "\nEnter a fe
- Page 424 and 425:
Chapter 19: File Input/Output 389pr
- Page 427 and 428:
392 Let Us Cchar name[ 40 ] ;int ag
- Page 429 and 430:
394 Let Us Cint main( ){FILE *fp, *
- Page 431 and 432:
396 Let Us C{printf ( "\nEnter name
- Page 434 and 435:
Chapter 19: File Input/Output 399pa
- Page 441:
406 Let Us C}fwrite ( name, size of
- Page 449 and 450:
20 More Issues InInput/Output Using
- Page 451:
Chapter 20: More Issues In Input/Ou
- Page 454:
418 Let Us Cfp = fopen ( "TRIAL", "
- Page 464:
Chapter 21: Operations On Bits 427F
- Page 471 and 472:
434 Let Us C}for ( i = 7 ; i >= 0 ;
- Page 473 and 474:
436 Let Us CLeft Shift OperatorThe
- Page 476 and 477:
Chapter 21: Operations On Bits 439T
- Page 478 and 479:
Chapter 21: Operations On Bits 441j
- Page 480:
Chapter 21: Operations On Bits 4431
- Page 484 and 485:
Chapter 21: Operations On Bits 447v
- Page 486 and 487:
Chapter 21: Operations On Bits 449(
- Page 489:
22 MiscellaneousFeatures Enumerated
- Page 492:
454 Let Us Cstrcpy ( e.name, "Lotha
- Page 495:
Chapter 22: Miscellaneous Features
- Page 500:
462 Let Us Cstatement above. This i
- Page 506:
468 Let Us C}Here we pass two fixed
- Page 510 and 511:
472 Let Us C# include <stdio.h>int
- Page 513:
Chapter 22: Miscellaneous Features
- Page 516:
478 Let Us Cint main( ){typedef str
- Page 530:
Chapter 23: C Under Linux 491the pa
- Page 542 and 543:
Chapter 23: C Under Linux 503}retur
- Page 549:
24 InterviewFAQs509
- Page 554:
514 Let Us CAnswerNo. The cases in
- Page 558 and 559:
518 Let Us CAnswerchar *p = ( char
- Page 560 and 561:
520 Let Us CAnswerA null pointer is
- Page 562 and 563:
522 Let Us CQuestion 47What is the
- Page 564 and 565:
524 Let Us CAnswerIt is a pointer t
- Page 567 and 568:
Chapter 24: Interview FAQs 527Answe
- Page 570:
ACompilation andExecution529
- Page 581 and 582:
Appendix B: Precedence Table 539Con
- Page 584:
CChasing TheBugs541
- Page 587 and 588:
544 Let Us C}case 2 :printf ( "\nLi
- Page 591:
548 Let Us Cwhile ( ( ch = getc ( f
- Page 594:
550 Let Us CThere are 256 distinct
- Page 603:
30 Periodic Tests Test I Test II Te
- Page 609 and 610:
Periodic Tests 561[D] Attempt the f
- Page 611 and 612:
Periodic Tests 563[D] Attempt the f
- Page 613 and 614:
Periodic Tests 565(4) Suggest a sui
- Page 616 and 617:
Index567
- Page 618 and 619:
Index 569Compound assignment operat
- Page 620 and 621:
Index 571Bitwise AND, 438Bitwise OR
- Page 623 and 624:
FOURTEENTH REVISED & UPDATED EDITIO
- Page 625:
FOURTEENTH REVISED & UPDATED EDITIO
- Page 632 and 633:
Contents1. Getting Started 1What is
- Page 635 and 636:
A Few Subtle Issues 201Which to Use