20.09.2015 Views

Programming in C

Kochan - ProgramminginC

Kochan - ProgramminginC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

534 programs<br />

Revis<strong>in</strong>g the Program to F<strong>in</strong>d the<br />

Greatest Common Divisor (8.5),<br />

125-126<br />

Sort<strong>in</strong>g an Array of Integers <strong>in</strong>to<br />

Ascend<strong>in</strong>g Order (8.12), 144-146<br />

Updat<strong>in</strong>g the Time by One Second<br />

(9.5), 178-180<br />

Us<strong>in</strong>g Multidimensional Arrays and<br />

Functions (8.13), 147-150<br />

Writ<strong>in</strong>g <strong>in</strong> Function <strong>in</strong> C (8.1),<br />

120-121<br />

Generat<strong>in</strong>g a Table of Prime Numbers<br />

(6.10), 87-90<br />

Generat<strong>in</strong>g a Table of Triangular<br />

Numbers (5.3), 47-50<br />

Generat<strong>in</strong>g Fibonacci Numbers (7.3),<br />

103-104<br />

I/O operations, Copy<strong>in</strong>g Characters<br />

from Standard Input to Standard<br />

Output (16.2), 361-362<br />

Illustrat<strong>in</strong>g Po<strong>in</strong>ters (11.1), 236-237<br />

Illustrat<strong>in</strong>g the Modulus Operator (4.4),<br />

35-36<br />

Illustrat<strong>in</strong>g the pr<strong>in</strong>tf Formats (16.1),<br />

350-355<br />

Implement<strong>in</strong>g a Revised Program to<br />

Reverse the Digits of a Number (5.9),<br />

61-62<br />

Implement<strong>in</strong>g the Sign Function (6.6),<br />

77-78<br />

Initializ<strong>in</strong>g Arrays (7.5), 107-108<br />

<strong>in</strong>put, 9<br />

<strong>in</strong>terpret<strong>in</strong>g, 10<br />

Introduc<strong>in</strong>g the while Statement (5.6),<br />

56-58<br />

l<strong>in</strong>k<strong>in</strong>g, 9<br />

load<strong>in</strong>g, 9<br />

Modify<strong>in</strong>g the Dictionary Lookup<br />

Us<strong>in</strong>g B<strong>in</strong>ary Search (10.10), 224-227<br />

More Examples with Arithmetic<br />

Operators (4.3), 33-34<br />

More Po<strong>in</strong>ter Basics (11.2), 238<br />

output, 9<br />

Po<strong>in</strong>ter Version of copyStr<strong>in</strong>g( )<br />

function (11.13), 266-267<br />

portability of, 6<br />

proper term<strong>in</strong>ation of, 383<br />

Read<strong>in</strong>g L<strong>in</strong>es of Input (10.6), 209-210<br />

Read<strong>in</strong>g Str<strong>in</strong>gs with scanf (10.5),<br />

207-208<br />

Return<strong>in</strong>g a Po<strong>in</strong>ter from a Function<br />

(11.10), 257-259<br />

Revers<strong>in</strong>g the Digits of a Number (5.8),<br />

59-60<br />

Revised Version of copyStr<strong>in</strong>g( )<br />

function (11.14), 271-272<br />

Revis<strong>in</strong>g the Program to Determ<strong>in</strong>e if a<br />

Number Is Even or Odd (6.4), 71-72<br />

Revis<strong>in</strong>g the Program to Evaluate<br />

Simple Expressions (6.8A), 82-83<br />

Revis<strong>in</strong>g the Program to Evaluate<br />

Simple Expressions,Version 2 (6.9),<br />

85-86<br />

Revis<strong>in</strong>g the Program to Generate a<br />

Table of Prime Numbers (6.10A),<br />

90-91<br />

Revis<strong>in</strong>g the Program to Generate<br />

Prime Numbers,Version 2 (7.4),<br />

105-106<br />

rotat<strong>in</strong>g bit values, Implement<strong>in</strong>g a<br />

Rotate Function (12.4), 290-292<br />

runn<strong>in</strong>g, 12<br />

shift functions, Implement<strong>in</strong>g a Shift<br />

Function (12.3), 288-290<br />

statements, call<strong>in</strong>g, 13<br />

structures<br />

Determ<strong>in</strong><strong>in</strong>g Tomorrow’s Date (9.2),<br />

169-171<br />

Illustrat<strong>in</strong>g a Structure (9.1), 166-168<br />

Illustrat<strong>in</strong>g Arrays of Structures (9.6),<br />

183-184<br />

Illustrat<strong>in</strong>g Structures and Arrays (9.7),<br />

188-189<br />

Revis<strong>in</strong>g the Program to Determ<strong>in</strong>e<br />

Tomorrow’s Date (9.3), 171-174<br />

Revis<strong>in</strong>g the Program to Determ<strong>in</strong>e<br />

Tomorrow’s Date,Version 2 (9.4),<br />

174-177<br />

Summ<strong>in</strong>g the Elements of an Array<br />

(11.12), 264-265

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!