{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chapter 10 Test 1

Chapter 10 Test 1 - Chapter 10 Test 1 Thursday 5:15 AM 1 A...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1. A _________ is a #define directive that takes arguments and has function-like behavior. A. string B. macro C. variable D. long integer E. None of these 2. To test if a character is a printable character, use the ________ macro. 3. True/False: A test using the isupper macro will return 0 if the argument is an uppercase character. A. True B. False 4. True/False: The isdigit macro will return a 1 (one) if its argument is a digit between 0 and 9. Chapter 10 Test 1 Thursday, February 24, 2011 5:15 AM General Page 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
A. True B. False 5. The _________ is the escape sequence representing the null terminator. 6. The null terminator stands for the ASCII code _____. 7. The ________ function accepts a pointer to a string as an argument, and it returns the length of the string (not including the null terminator). A. numchar B. strlength C. strlen General Page 2
Background image of page 2
C. strlen D. countstring E. None of these
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}