November 2004
Intermediate to advanced
984 pages
24h 53m
English
You will learn about the following in this chapter:
• Function:
strlen()
• Keywords:
const
• Character strings
• How character strings are created and stored
• How you can use scanf() and printf() to read and display character strings
• How to use the strlen() function to measure string lengths
• The C preprocessor’s #define directive and ANSI C’s const modifier for creating symbolic constants
This chapter concentrates on input and output. You’ll add personality to your programs by making them interactive and using character strings. You will also take a more detailed look at those two handy C input/output functions, printf() and scanf(). With these two functions, you have the program tools ...
Read now
Unlock full access